<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Daniel&#039;s Weblog</title>
	<atom:link href="http://danielrohe.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://danielrohe.wordpress.com</link>
	<description>My little world.</description>
	<lastBuildDate>Thu, 08 Dec 2011 08:50:34 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='danielrohe.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Daniel&#039;s Weblog</title>
		<link>http://danielrohe.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://danielrohe.wordpress.com/osd.xml" title="Daniel&#039;s Weblog" />
	<atom:link rel='hub' href='http://danielrohe.wordpress.com/?pushpress=hub'/>
		<item>
		<title>JAX2010 &#8211; Day Two</title>
		<link>http://danielrohe.wordpress.com/2010/05/04/jax2010-day-two/</link>
		<comments>http://danielrohe.wordpress.com/2010/05/04/jax2010-day-two/#comments</comments>
		<pubDate>Tue, 04 May 2010 21:46:37 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=185</guid>
		<description><![CDATA[The second day opened with the keynote from Oracle talking about Java&#8217;s future at Oracle. Enhancing Glassfish Application Server as a reference implementation and combining the best from Sun&#8217;s HotSpot VM with WebLogic JRockit VM sounds awesome. When I think about RT and Garbage Collection features of JRockit combined with the HotSpot code replacement features [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=185&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The second day opened with the keynote from Oracle talking about Java&#8217;s future at Oracle. Enhancing Glassfish Application Server as a reference implementation and combining the best from Sun&#8217;s HotSpot VM with WebLogic JRockit VM sounds awesome. When I think about RT and Garbage Collection features of JRockit combined with the HotSpot code replacement features of the HotSpot VM.</p>
<p>After having a good day start I went over to the architecture of AJAX applications session where the main focus was on performance issues with web application and how to solve them with a good architecture and design. From my understanding it mainly comes down to move more of the view and controling logic to the browser and separate presentation from data. For the view and data typical optimizations for cache and content reduction should be applied. Which ranges from stripping spaces from files where possible to using lightweight protocols like JSONP for data access and browser-server communication.</p>
<p>The third session talked about Oracle&#8217;s Toplink (which is also called EclipseLink) and the Coherence integration with regards to performance. Most interesting is the possibility to execute queries agains the shared cache and not touching the database at all. Which reduces a lot of load from database and network for high performance applications. It might also work quite well for highly transactional applications.</p>
<p>The second keynote disappointed me because most of the time a video from youtube was shown. I expected more examples and best practices. Also the session afterwards only showed a small amount I expected from the topic.</p>
<p>Beside this the last session was interesting again. Talking about common class loader issues in web applications it showed some interesting failures which occur when not understanding class loading and Hot Code-Replacement in Eclipse or shared libraries in application servers. The last presentation about the memory leak when using ClassLoaders and constants is a nice eye catcher. I would like to have seen some problems in an OSGI platform.</p>
<p>Beside all the sessions and keynotes I also meat some old and new collegues and enjoyed the great day!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=185&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2010/05/04/jax2010-day-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
		<item>
		<title>Certified Scrum Master (CSM)</title>
		<link>http://danielrohe.wordpress.com/2010/05/04/certified-scrum-master-csm/</link>
		<comments>http://danielrohe.wordpress.com/2010/05/04/certified-scrum-master-csm/#comments</comments>
		<pubDate>Tue, 04 May 2010 21:32:12 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Certified Scrum Master]]></category>
		<category><![CDATA[Scrum]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=176</guid>
		<description><![CDATA[After attending a two-day workshop with Boris Gloger and some questions I managed to become a Certified Scrum Master. What&#8217;s so interesting about Scrum is the management by sticking to some simple rules and focus on business value. The main point I got out of the workshop is the importance of priorization and separation of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=176&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After attending a two-day workshop with Boris Gloger and some questions I managed to become a Certified Scrum Master.</p>
<p>What&#8217;s so interesting about Scrum is the management by sticking to some simple rules and focus on business value. The main point I got out of the workshop is the importance of priorization and separation of business function and technical realisation. With this approach the team is in fully response to find the best solution for the functionality in a given amount of time. This way no one builds nice looking architectures in the ivory tower. The team develops the architecture as part of the first story. Because of priorization this architecture is based on the story which provides the biggest business benefit.</p>
<p>Also the estimation based on  a freely choosen reference story is a nice way. Doing it this way there is no effort estimation but only functionality estimation.  So keep out the hours! The team estimates the functionality and afterwards decide how much it can handle in one Sprint (which might last 2 weeks or 1 month). After this first initial Sprint is finished there is a measurement how much functionality a team can handle. While doing more and more Sprints the average story points a team can handle in a a Sprint is measured and not estimated. The word measurement sounds much better than estimation because it provides a picture that it is based on a real value and no guess. Which it somehow also is. So from a management point it look s much more feasable.</p>
<p>The role of  a Scrum Master as a person who ensures that the small amount of principles are followed and everyone fulfills his duties makes it a challenging opportunity. I hope I can work in this role in some future.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=176&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2010/05/04/certified-scrum-master-csm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
		<item>
		<title>Agile Day</title>
		<link>http://danielrohe.wordpress.com/2010/05/04/agile-day/</link>
		<comments>http://danielrohe.wordpress.com/2010/05/04/agile-day/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:38:24 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JAX2010]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/2010/05/04/agile-day/</guid>
		<description><![CDATA[Spending a week in Germany is nice, monday morning I went to Mainz for the JAX 2010 and started the first day visiting the Agile Day presentations. Interesting that in every presentation Scrum and XP are part of the keywords. Also one of the most interesting sentence was the questions Mr. Roock asked his customers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=183&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Spending a week in Germany is nice, monday morning I went to Mainz for the JAX 2010 and started the first day visiting the Agile Day presentations. Interesting that in every presentation Scrum and XP are part of the keywords.</p>
<p>Also one of the most interesting sentence was the questions Mr. Roock asked his customers when he gets called for a Scrum consulting. He askes customers whether they want Scrum for the complete company or only a single project. Based on his objections bringing Scrum to a project has only a single effect to the project but bringing it to the company provides a much higher productivity afterwards. But this also means that some iterations in the introduced project will fail.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=183&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2010/05/04/agile-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
		<item>
		<title>JAX TV</title>
		<link>http://danielrohe.wordpress.com/2010/02/20/jax-tv/</link>
		<comments>http://danielrohe.wordpress.com/2010/02/20/jax-tv/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 13:39:58 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Java Swing]]></category>
		<category><![CDATA[swing application framework]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=181</guid>
		<description><![CDATA[A really good high level video to existing JSRs regarding Swing Desktop Applications. http://it-republik.de/jaxenter/news/JAX-TV-Swing-Application-Framework-054008.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=181&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A really good high level video to existing JSRs regarding Swing Desktop Applications.</p>
<p>http://it-republik.de/jaxenter/news/JAX-TV-Swing-Application-Framework-054008.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=181&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2010/02/20/jax-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy New Year 2010</title>
		<link>http://danielrohe.wordpress.com/2010/01/01/happy-new-year-2010/</link>
		<comments>http://danielrohe.wordpress.com/2010/01/01/happy-new-year-2010/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 16:27:53 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/2010/01/01/happy-new-year-2010/</guid>
		<description><![CDATA[I wish everyone a happy and successful new year 2010.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=180&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wish everyone a happy and successful new year 2010.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=180&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2010/01/01/happy-new-year-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
		<item>
		<title>Swing Application Shutdown</title>
		<link>http://danielrohe.wordpress.com/2009/05/31/swing-application-shutdown/</link>
		<comments>http://danielrohe.wordpress.com/2009/05/31/swing-application-shutdown/#comments</comments>
		<pubDate>Sun, 31 May 2009 13:50:09 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Java Swing]]></category>
		<category><![CDATA[shutdown]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=165</guid>
		<description><![CDATA[After discussing the startup in the last post I continue on the shutdown of a Java application. Typically when the application frame (or window) closes the user is asked if he really wants to exit. If he commits this the application exits while closing the application. In the other case the application might restart or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=165&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After discussing the startup in the last post I continue on the shutdown of a Java application. Typically when the application frame (or window) closes the user is asked if he really wants to exit. If he commits this the application exits while closing the application. In the other case the application might restart or do nothing. How can this be handled with Java Swing?</p>
<p>A common way of shutdown implementation is to add an implementation of WindowListener to the application frame and react on the events. The listener already has a callback windowClosing(WindowEvent) which is called before the window closes. Here the application might ask the user if he really wants to exit or just clicked the wrong button <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . In most cases if the user commits a common implementation is to invoke System.exit(0) because this terminates the JVM but the JFrame class provides a more convinient approach. Simply set the default closing operation to JFrame.EXIT_ON_CLOSE will do the same job. If the application requires a callback that the application frame is really closed simply set the closing operation to JFrame.DISPOSE_ON_CLOSE and implement the listeners windowClosed(WindowEvent) method. You even don&#8217;t need to invoke System.exit(int) because the EDT exits when no window is active. Which means if the application frame is the only window it also exits the application.</p>
<p><a rel="attachment wp-att-167" href="http://danielrohe.wordpress.com/2009/05/31/swing-application-shutdown/application-shutdown/"><img class="alignnone size-full wp-image-167" title="Application Shutdown" src="http://danielrohe.files.wordpress.com/2009/05/application-shutdown.png?w=500&#038;h=488" alt="Application Shutdown" width="500" height="488" /></a></p>
<p>This image shows the event invocations when a window is closed. First the user closes the window by pressing the red icon in the top right corner. This causes the EDT to dispatch a window event to the application frame. The event has the type WindowEvent.WINDOW_CLOSING. The application has registered a WindowListener that invokes shutdown in the EDT. In the shutdown method the application asks the user if he really wants to exit. If he aborts the application sets the default close operation to JFrame.DO_NOTHING_ON_CLOSE which continues the application and keeps the frame open. If the user commits the application sets the default close operation to DISPOSE_ON_CLOSE which causes the application frame to be disposed. This again causes the EDT to dispatch a new WindowEvent with the type WindowEvent.CLOSED. Now the application can do some magic in the EDT after the window is closed. If no window exists the EDT exits and the JVM terminates. If the application sets the default close operation to JFrame.EXIT_ON_CLOSE the application will terminate immediately after the windowClosing method is executed (just look at the code of JFrame&#8217;s processWindowEvent method).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/165/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=165&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2009/05/31/swing-application-shutdown/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>

		<media:content url="http://danielrohe.files.wordpress.com/2009/05/application-shutdown.png" medium="image">
			<media:title type="html">Application Shutdown</media:title>
		</media:content>
	</item>
		<item>
		<title>Swing Application Startup</title>
		<link>http://danielrohe.wordpress.com/2009/05/31/swing-application-startup/</link>
		<comments>http://danielrohe.wordpress.com/2009/05/31/swing-application-startup/#comments</comments>
		<pubDate>Sun, 31 May 2009 11:56:30 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Java Swing]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=156</guid>
		<description><![CDATA[The startup of an application is one of the based parts where a framework support is very helpful because especially with Java Swing. In Swing there is the Event Dispatch Thread (EDT) which executes any UI related stuff. So anything that is related to UI should be executed in this thread, even the creation of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=156&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The startup of an application is one of the based parts where a framework support is very helpful because especially with Java Swing. In Swing there is the Event Dispatch Thread (EDT) which executes any UI related stuff. So anything that is related to UI should be executed in this thread, even the creation of a frame. So how can  a framework support this procedure. One example comes with the Swing AppFramework where a launcher moves the creation and invocation of the startup method into the EDT but than also does a lot of application specific or sometimes unneeded stuff like I18n, session storage.</p>
<p>A really simple approach is shown in the following picture.</p>
<p><a rel="attachment wp-att-157" href="http://danielrohe.wordpress.com/2009/05/31/swing-application-startup/application-startup/"><img class="alignnone size-full wp-image-157" title="Application Startup" src="http://danielrohe.files.wordpress.com/2009/05/application-startup.png?w=500" alt="Application Startup"   /></a></p>
<p>The user starts the application either using Web Start, clicking on the JAR or command line. In the applications main-method is one line Launcher.launch(Application.class, args) where the application class and command-line arguments are passed to the launcher. This one creates a new application instance and invokes the startup method in the EDT using SwingUtilities.</p>
<p>Because no window is shown any configured splash screen will be shown until the frame (or window) which is created in startup method is shown to the user. The behavior of startup is application specific but often it can be divided into an initialization part of the platform. Typical services like executor, communication layers, logging, modularization are initialized. After this is completed the application frame is created and shown to the user.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=156&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2009/05/31/swing-application-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>

		<media:content url="http://danielrohe.files.wordpress.com/2009/05/application-startup.png" medium="image">
			<media:title type="html">Application Startup</media:title>
		</media:content>
	</item>
		<item>
		<title>Java 6 Splash-Screen</title>
		<link>http://danielrohe.wordpress.com/2009/05/30/java-6-splash-screen/</link>
		<comments>http://danielrohe.wordpress.com/2009/05/30/java-6-splash-screen/#comments</comments>
		<pubDate>Sat, 30 May 2009 16:41:56 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[class path]]></category>
		<category><![CDATA[java6]]></category>
		<category><![CDATA[splash screen]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=152</guid>
		<description><![CDATA[Working on Java Swing is sometimes not the easiest! Today I came across a problem with the Java6 Splash-Screen feature where you can define the splash screen in the manifest file. I wanted to see when the splash screen gets shown and when it gets disposed. The screen really gets shown when the JVM starts, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=152&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Working on Java Swing is sometimes not the easiest! Today I came across a problem with the Java6 Splash-Screen feature where you can define the splash screen in the manifest file. I wanted to see when the splash screen gets shown and when it gets disposed. The screen really gets shown when the JVM starts, so its good to use it for showing feedback while initialization. And the screen gets disposed as soon as the first window, may it be a frame or dialog, gets shown.</p>
<p>But nothing comes for free, a problem occured as I added class-path entries to the manifest.  The splash screen was not shown! So I played around with a dozen of combinations in the manifest file. The outcome is that <strong>if the Splashscreen-Image entry is after the Class-Path entry no splash screen will be shown</strong>! So always keep you entry for the splash screen at the top of the manifest file.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=152&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2009/05/30/java-6-splash-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning Adobe Flex</title>
		<link>http://danielrohe.wordpress.com/2009/05/24/learning-adobe-flex/</link>
		<comments>http://danielrohe.wordpress.com/2009/05/24/learning-adobe-flex/#comments</comments>
		<pubDate>Sun, 24 May 2009 15:33:23 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[adobe flex]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=142</guid>
		<description><![CDATA[With the existing stream of building rich internet applications (RIAs) I also have to look at this technology. So I started learning Adobe Flex because after some talk with collegues and looking around it looks like this is the most stable and widely used technology. JavaFX is just starting and has still a long way [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=142&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the existing stream of building rich internet applications (RIAs) I also have to look at this technology. So I started learning Adobe Flex because after some talk with collegues and looking around it looks like this is the most stable and widely used technology. JavaFX is just starting and has still a long way to go and Silverlight just only runs on Windows machines with IE installed.</p>
<p>So the first I had to do was browsing the documentation at <a href="http://opensource.adobe.com/wiki/display/site/Home">Adobe Open Source</a> and getting a feeling of Flex. This means mainly downloading the SDK, looking at the examples and fiddling around with them. The concept with declaring the user interface in XML is nice and makes it really easy building simple forms and screens. With the mechanism of having an id-map in the application from where the application code, UI and everything gets and displays the entered/computed text works well. Also with ActionScript which is like JavaScript but with just a little bit more type information makes it also easier for a Java developer to dig into it. One of the biggest points is the extensive API documentation. The structure with having an example available for each UI component and function is quite charming. I hope to see this kind of documentation also in some other projects.</p>
<p>As an example I&#8217;d written a <a href="http://daro.da.funpic.de/flex/flex02/">small application</a> to calculate the real inflation adjusted return for a one-year cash-investment in a CD.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=142&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2009/05/24/learning-adobe-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Services with Axis 2, CXF and Maven &#8211; Part 2</title>
		<link>http://danielrohe.wordpress.com/2009/04/26/web-services-with-axis-cxf-and-maven-part-2/</link>
		<comments>http://danielrohe.wordpress.com/2009/04/26/web-services-with-axis-cxf-and-maven-part-2/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 20:36:54 +0000</pubDate>
		<dc:creator>danielrohe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[axis2]]></category>
		<category><![CDATA[cxf]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://danielrohe.wordpress.com/?p=137</guid>
		<description><![CDATA[After the service implementation is implemented and deployed we can start with the service client. For this part I like the way Apache CXF can be integrated in a Spring IoC container, so the service consumer will use Apache CXF for the client implementation. Again, first we need to set up the Maven project with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=137&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After the service implementation is implemented and deployed we can start with the service client. For this part I like the way Apache CXF can be integrated in a Spring IoC container, so the service consumer will use Apache CXF for the client implementation.</p>
<p>Again, first we need to set up the Maven project with all required dependencies and build settings. The goal is to generate the client implementation with CXF and write a small test case. So we set up the typical maven project and add the cxf-codegen-plugin to the build settings. This Maven plugin has the goal wsdl2java which must be executed with the configuration pointing to the location of the WSDL of the deployed service. Often it is something like <em>http://localhost:8080/axis2/services/Foo?wsdl</em>. Also the project needs the Spring Framework and Apache CXF as dependency.</p>
<p>The second step is the test case. This one should be written using spring-tests which provides a basis for test cases requiring a Spring IoC container. The configuration file (also known as application-context file) requires the two CXF imports and the service client definition using <em>jaxws:client</em> tag. If the service provider requires authentication one can add the required processors to the output queue using <em>jaxws:outInterceptors</em> and e.g. the <em>WSS4JOutInterceptor</em> as a bean.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielrohe.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielrohe.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielrohe.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielrohe.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielrohe.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielrohe.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielrohe.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielrohe.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielrohe.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielrohe.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielrohe.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielrohe.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielrohe.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielrohe.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielrohe.wordpress.com&amp;blog=3622020&amp;post=137&amp;subd=danielrohe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielrohe.wordpress.com/2009/04/26/web-services-with-axis-cxf-and-maven-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15763dc79eec2198e6dd7bb5812c43e8?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">danielrohe</media:title>
		</media:content>
	</item>
	</channel>
</rss>
