<?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>Wakaaaao ! &#187; Java</title>
	<atom:link href="http://wakao.wordpress.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://wakao.wordpress.com</link>
	<description>View from an elated state of mind</description>
	<lastBuildDate>Wed, 04 Oct 2006 06:39:28 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='wakao.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/afd84924d14c26636ca4fa47e1f7a27b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Wakaaaao ! &#187; Java</title>
		<link>http://wakao.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://wakao.wordpress.com/osd.xml" title="Wakaaaao !" />
		<item>
		<title>Implement &#8220;Search results&#8221; using Hibernate</title>
		<link>http://wakao.wordpress.com/2006/09/29/implement-search-results-using-hibernate/</link>
		<comments>http://wakao.wordpress.com/2006/09/29/implement-search-results-using-hibernate/#comments</comments>
		<pubDate>Thu, 28 Sep 2006 18:32:14 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://wakao.wordpress.com/2006/09/29/implement-search-results-using-hibernate/</guid>
		<description><![CDATA[Hibernate Criteria API: Multi-Criteria Search Made Easy 
Powerful, Elegant and Definitely Worth a Try,
 that&#8217;s what the article says &#38; it&#8217;s mighty true. Have seen quiet some people constructing these kind of queries using StringBuffer &#38; stuff, but this is waaaay more elegant  
..
Criteria criteria 
         [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=74&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.devx.com/Java/Article/28754/1954?pf=true">Hibernate Criteria API: Multi-Criteria Search Made Easy</a> </p>
<blockquote><p>Powerful, Elegant and Definitely Worth a Try,</p></blockquote>
<p> that&#8217;s what the article says &amp; it&#8217;s mighty true. Have seen quiet some people constructing these kind of queries using StringBuffer &amp; stuff, but this is waaaay more elegant <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p><code>..</code><br />
<code>Criteria criteria </code><br />
<code>            = session.createCriteria(Accommodation.class);</code><br />
<code>if (startDate != null) {</code><br />
<code>    criteria.add(Expression.ge("availabilityDate",</code><br />
<code>                               startDate);</code><br />
<code>}                </code><br />
<code>if (endDate != null) {</code><br />
<code>    criteria.add(Expression.le("availabilityDate",</code><br />
<code>                               endDate);</code><br />
<code>}        </code><br />
<code></code></p></blockquote>
<p>This beats</p>
<blockquote><p><code>if (startDate != null) {</code><br />
<code>    queryBuf.append(firstClause ? " where ": " and ");</code><br />
<code>    queryBuf.append("a.availabiliyDate &gt;=:startDate");</code><br />
<code>    parameters.put("startDate",startDate);</code><br />
<code>    firstClause = false;</code><br />
<code>}  </code></p></blockquote>
<p>any time !!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/74/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/74/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=74&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2006/09/29/implement-search-results-using-hibernate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>Must never do Antipatterns &#8211; Exception Handling</title>
		<link>http://wakao.wordpress.com/2006/09/28/must-never-do-antipatterns-exception-handling/</link>
		<comments>http://wakao.wordpress.com/2006/09/28/must-never-do-antipatterns-exception-handling/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 20:15:19 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://wakao.wordpress.com/2006/09/28/must-never-do-antipatterns-exception-handling/</guid>
		<description><![CDATA[From java.net: Exception-Handling Antipatterns 
Antipatterns
Log and Throw
Example:
catch (NoSuchMethodException e) {
  LOG.error(&#8220;Blah&#8221;, e);
  throw e;
}
or
catch (NoSuchMethodException e) {
  LOG.error(&#8220;Blah&#8221;, e);
  throw new MyServiceException(&#8220;Blah&#8221;, e);
}
or
catch (NoSuchMethodException e) {
  e.printStackTrace();
  throw new MyServiceException(&#8220;Blah&#8221;, e);
}
All of the above examples are equally wrong. This is one of the most annoying error-handling antipatterns. Either log [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=73&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>From <a href="http://today.java.net/pub/a/today/2006/04/06/exception-handling-antipatterns.html">java.net: Exception-Handling Antipatterns</a> </p>
<blockquote><p>Antipatterns<br />
Log and Throw</p>
<p>Example:</p>
<p>catch (NoSuchMethodException e) {<br />
  LOG.error(&#8220;Blah&#8221;, e);<br />
  throw e;<br />
}</p>
<p>or</p>
<p>catch (NoSuchMethodException e) {<br />
  LOG.error(&#8220;Blah&#8221;, e);<br />
  throw new MyServiceException(&#8220;Blah&#8221;, e);<br />
}</p>
<p>or</p>
<p>catch (NoSuchMethodException e) {<br />
  e.printStackTrace();<br />
  throw new MyServiceException(&#8220;Blah&#8221;, e);<br />
}</p>
<p>All of the above examples are equally wrong. This is one of the most annoying error-handling antipatterns. Either log the exception, or throw it, but never do both. Logging and throwing results in multiple log messages for a single problem in the code, and makes life hell for the support engineer who is trying to dig through the logs.
</p></blockquote>
<p>I see this in so many &#8220;commercial&#8221; products that I want my money back !!; makes debugging a pain the neck. Seeing the same trace logged from every tier again &amp; again is not pretty.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/73/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/73/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=73&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2006/09/28/must-never-do-antipatterns-exception-handling/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>Hidden variables in DisplayTag</title>
		<link>http://wakao.wordpress.com/2006/09/27/hidden-variables-in-displaytag/</link>
		<comments>http://wakao.wordpress.com/2006/09/27/hidden-variables-in-displaytag/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 16:43:56 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://wakao.wordpress.com/2006/09/27/hidden-variables-in-displaytag/</guid>
		<description><![CDATA[If you are using DisplayTag and need to have hidden variables like I do (I&#8217;m using Struts) then this is a nice way
&#8230;setting the &#8217;s class and headerClass attributes to hidden, which is a CSS style whose display property is none. This is a simple but effective method for keeping data available in the request [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=71&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you are using DisplayTag and need to have hidden variables like I do (I&#8217;m using Struts) then this is a nice way</p>
<blockquote><p>&#8230;setting the &#8217;s class and <span class="pf">headerClass</span> attributes to hidden, which is a CSS style whose display property is none. This is a simple but effective method for keeping data available in the request scope without having to display it to the user.</p></blockquote>
<p>Code snip :</p>
<blockquote><p>&lt;display:column property=&#8221;id&#8221; title=&#8221;ID&#8221; class=&#8221;hidden&#8221; headerClass=&#8221;hidden&#8221; media=&#8221;html&#8221; /&gt;</p></blockquote>
<p>Source : <a href="http://www.devx.com/webdev/10MinuteSolution/31020/0/page/3">Creating Highly Functional Tables in JSP Using DisplayTag and JavaScript</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/71/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/71/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=71&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2006/09/27/hidden-variables-in-displaytag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>EclipseUML</title>
		<link>http://wakao.wordpress.com/2005/11/29/eclipseuml/</link>
		<comments>http://wakao.wordpress.com/2005/11/29/eclipseuml/#comments</comments>
		<pubDate>Tue, 29 Nov 2005 09:17:00 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://wakao.wordpress.com/2005/11/29/eclipseuml/</guid>
		<description><![CDATA[Lately I&#8217;ve been looking at UML modelling tools. Tried quite a few of them (freeware, shareware etc.). Even downloaded the new freely available Java Studio Enterprise, but didn&#8217;t like the fact that I had to leave Eclipse   . Now I don&#8217;t have to   thanks to EclipseUML from Omondo. 
This is what [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=49&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Lately I&#8217;ve been looking at UML modelling tools. Tried quite a few of them (freeware, shareware etc.). Even downloaded the new freely available <a href="http://developers.sun.com/prodtech/javatools/free/">Java Studio Enterprise</a>, but didn&#8217;t like the fact that I had to leave Eclipse <img src='http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt='(' />  . Now I don&#8217;t have to <img src='http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=')' />  thanks to <a href="http://www.omondo.com/">EclipseUML</a> from Omondo. </p>
<p>This is what plugin architecture is all about !! I have used the Free Edition so far and it&#8217;s amazing. No major hiccups, would have liked to install through an update site, but their installer was OK too.I liked the fact that they have maintained the overall look and feel and icon set remains faithful to Eclipse. Auto-layout is not very smart though and the export is to SVG only (the commercial edition add more export formats). I like the fact that I can version-control this along with my source code so that I can keep them updated so that there is no &#8220;lag&#8221; between design and development. I am going to go all crazy with use cases and sequence diagrams too <img src='http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=')' /> </p>
<p>If all goes well I want to suggest that we use this plugin in all our teams and maybe I can push for the commercial version too.</p>
<p>PS : I am using w.bloggar to write this post and the spell check suggests &#8220;unholy&#8221; as a correction for UML <img src='http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' />  appropriate you say !!!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=49&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2005/11/29/eclipseuml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>

		<media:content url="http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_sad.gif" medium="image">
			<media:title type="html">(</media:title>
		</media:content>

		<media:content url="http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_smile.gif" medium="image">
			<media:title type="html">)</media:title>
		</media:content>

		<media:content url="http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_smile.gif" medium="image">
			<media:title type="html">)</media:title>
		</media:content>

		<media:content url="http://radeshrao.wordpress.com/wp-includes/images/smilies/icon_wink.gif" medium="image">
			<media:title type="html">;)</media:title>
		</media:content>
	</item>
		<item>
		<title>TimeZone on Red Hat Linux</title>
		<link>http://wakao.wordpress.com/2005/10/20/timezone-on-red-hat-linux/</link>
		<comments>http://wakao.wordpress.com/2005/10/20/timezone-on-red-hat-linux/#comments</comments>
		<pubDate>Thu, 20 Oct 2005 10:06:36 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://wakao.wordpress.com/2005/10/20/timezone-on-red-hat-linux/</guid>
		<description><![CDATA[On my development box I was facing a weird problem of java (1.4.2_04) Timezone not being what it should be. The good part is that this is not happening on the client box. So all this was ok as the only place it was getting used was in the log4j logs I was just offsetting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=20&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>On my development box I was facing a weird problem of java (1.4.2_04) Timezone not being what it should be. The good part is that this is not happening on the client box. So all this was ok as the only place it was getting used was in the log4j logs I was just offsetting the time to my time in my head <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  (Too lazy I know). But recently we were adding some code that was dependent on the timezone in that the time was the content of a mail sent to users and not everybody was prepared for my &ldquo;mental offset&rdquo; solution.</p>
<p>Googling for an answer I found this link <a href="http://minaret.biz/tips/timezone.html">http://minaret.biz/tips/timezone.html</a> which describes the exact problem I had and a solution that works for me (export TZ=). I basically stuck this export TZ=&quot;whatever&quot; to my bash profile.</p>
<p>Upgrading the java version to 1.5.0_02 doesn&rsquo;t make a difference either and the Linux time zone is also set perfectly and the date command works as it should.</p>
<p>One thing I would like to add is that use the complete name &ldquo;America/Los_Angeles&rdquo; and not an ID like PST or JST. Setting the ID works for Java but the date command doesn&rsquo;t get it, so if you have native apps then they would start acting up because of this.</p>
<p>Oh yeah, if I ever find out what the problem is to begin with, it will be posted here too <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  for now this fix will have to make do.</p>
<p><i>Update: Check your /etc/localtime <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </i></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=20&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2005/10/20/timezone-on-red-hat-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>Swing based Pet Store</title>
		<link>http://wakao.wordpress.com/2005/10/05/swing-based-pet-store/</link>
		<comments>http://wakao.wordpress.com/2005/10/05/swing-based-pet-store/#comments</comments>
		<pubDate>Wed, 05 Oct 2005 11:51:37 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://wakao.wordpress.com/2005/10/05/swing-based-pet-store/</guid>
		<description><![CDATA[Is there a Swing based Rich client implementation of the Petstore application or something similar? I wanted to see the J2EE design patterns and blueprints put to practice in a Swing based rich client. The blue prints at http://java.sun.com/reference/blueprints/ and http://corej2eepatterns.com/ primarily focus on Web based applications but other than Presentation Tier everything should remain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=19&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Is there a Swing based Rich client implementation of the Petstore application or something similar? I wanted to see the J2EE design patterns and blueprints put to practice in a Swing based rich client. The blue prints at <a href="http://java.sun.com/reference/blueprints/">http://java.sun.com/reference/blueprints/</a> and <a href="http://corej2eepatterns.com/">http://corej2eepatterns.com/</a> primarily focus on Web based applications but other than Presentation Tier everything should remain the same for a Swing based one. Macromedia has done something similar <a href="http://www.macromedia.com/devnet/blueprint/">http://www.macromedia.com/devnet/blueprint/</a>, pretty neat. Guess I could get cracking on this one.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=19&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2005/10/05/swing-based-pet-store/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse RCP &#8230; really cool platform</title>
		<link>http://wakao.wordpress.com/2005/07/26/eclipse-rcp-really-cool-platform/</link>
		<comments>http://wakao.wordpress.com/2005/07/26/eclipse-rcp-really-cool-platform/#comments</comments>
		<pubDate>Tue, 26 Jul 2005 14:14:00 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://wakao.wordpress.com/2005/07/26/eclipse-rcp-really-cool-platform/</guid>
		<description><![CDATA[The Eclipse RCP does really look like the &#8220;Really cool Platform&#8221; that it&#8217;s been touted to be. I have been looking it into it on and off (read: every time somebody blogs about it or there is a eclipse release). I really wish that they had something like this for the average Swing Joe (like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=18&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The Eclipse RCP does really look like the &ldquo;Really cool Platform&rdquo; that it&rsquo;s been touted to be. I have been looking it into it on and off (read: every time somebody blogs about it or there is a eclipse release). I really wish that they had something like this for the average Swing Joe (like me).</p>
<p>Just thought of building a Outlook Express like application for reading the bloglines just as a quick hack project. But boy does it take a while to get off the ground. At work we already have a kind of framework that takes care of all the menu, status bar etc. well kind of. But if I start off from scratch (using all of JDNC and jgoodies) it would take me a couple of days just to get a decent skeleton in and then finally to the nitty-gritty. As opposed the RCP seems to provide all this out of the box and with all the run in background coolness (think it&rsquo;s the Job API). All this and plus some more.This really should have been done swing already, considering that it&rsquo;s been around like forever, maybe everybody has developed something proprietary in-house.</p>
<p>I hear that Java is making a come back in the desktop market (well we&rsquo;ve been in here for quite some time), but without such a framework I am not sure it will sustain the interest. The whole point is to be quick off the ground, lots of apps =&gt; lots of source code etc. ! I think where eclipse did right was come out with quick results to sustain the interest that it had generated and has kept it going. I don&rsquo;t say there are no efforts here JDNC is doing quite a lot of work and they have a Action framework that seems to have the workings that can be used in a contributable framework like in eclipse/RCP but leaving the actual work for somebody else or as a TBD might not workout.</p>
<p>Now being a Swing&rsquo;er for life I am actually considering looking into the whole deal. Not sure how long and how much effort will be needed and more than that how much of a mind-set change will this need (I have my share of FUD being from the other &ldquo;side&rdquo;), but about a year ago I had persuaded my organization to switch to Eclipse as the standard IDE (after using it for 2 years myself) as the standard IDE from textpad&rsquo;s, notepad&rsquo;s and some other IDE&rsquo;s in the market and it was such a huge success.</p>
<p>Now I am out looking for material, I see a lot of tutorials(plug-ins/RCP/SWT/JFace), videos but a lot of it is scattered around, now wishing for some more would be plain evil now would it ?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=18&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2005/07/26/eclipse-rcp-really-cool-platform/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse on JRockit</title>
		<link>http://wakao.wordpress.com/2005/06/21/eclipse-on-jrockit/</link>
		<comments>http://wakao.wordpress.com/2005/06/21/eclipse-on-jrockit/#comments</comments>
		<pubDate>Tue, 21 Jun 2005 18:09:20 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://wakao.wordpress.com/2005/06/21/eclipse-on-jrockit/</guid>
		<description><![CDATA[Eclipse was getting real sluggish on my Thinkpad so I started looking around for ways to get it going faster. I tried the Keep Resident plugin but not much difference. Then I read someplace that the JRockit JVM is supposed to be faster than the Sun one, so I tried the 1.4 and 1.5 versions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=17&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Eclipse was getting real sluggish on my Thinkpad so I started looking around for ways to get it going faster. I tried the <a href="http://suif.stanford.edu/pub/keepresident/">Keep Resident</a> plugin but not much difference. Then I read someplace that the <a href="http://www.bea.com/framework.jsp?CNT=index.htm&amp;FP=/content/products/weblogic/jrockit">JRockit</a> JVM is supposed to be faster than the Sun one, so I tried the 1.4 and 1.5 versions of it, hoping to be &quot;rocked&quot; by it&#39;s performance but actually came out disappointed. The Sun VM seems to be comparatively really good with the default options. Is JRockit not the best for client side / GUI applications ? Does it need some tweaking and tuning ? For now I do not have the time to look it up, maybe I&#39;ll come back to the Rockit some other day.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=17&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2005/06/21/eclipse-on-jrockit/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>As UGLI as it gets ??</title>
		<link>http://wakao.wordpress.com/2005/04/06/as-ugli-as-it-gets/</link>
		<comments>http://wakao.wordpress.com/2005/04/06/as-ugli-as-it-gets/#comments</comments>
		<pubDate>Wed, 06 Apr 2005 09:35:38 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://wakao.wordpress.com/2005/04/06/as-ugli-as-it-gets/</guid>
		<description><![CDATA[With so many libraries and applications depending on JCL for logging can this actually let you sleep at night ? (how can you !!!)
That&#39;s when I found UGLI
The Universal and Generic Logging Interface or UGLI is intended to serve as a simple abstraction of various logging APIs allowing to plug in the desired implementation at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=14&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>With so many libraries and applications depending on <a href="http://jakarta.apache.org/commons/logging/" target="_blank">JCL</a> for logging can <a href="http://www.qos.ch/logging/classloader.jsp" target="_blank">this</a> actually let you sleep at night ? (how can you !!!)</p>
<p>That&#39;s when I found <a href="http://logging.apache.org/log4j/docs/ugli.html" target="_blank">UGLI</a></p>
<blockquote><p>The Universal and Generic Logging Interface or UGLI is intended to serve as a simple abstraction of various logging APIs allowing to plug in the desired implementation at deployment time.</p></blockquote>
<p>I was actually trying to use JDK 1.4 logging for one of my web apps. The most important in this was that I had written a custom formatter but turns out I hit <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=22852" target="_blank">this</a> bug <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  .Oh well who needs this !!</p>
<p>Let me use my google <a href="http://www.naruto-kun.com/index.php?subject=Naruto%20Fighting%20Guide&amp;subsubject=Chakra%20Types" target="_blank">chakra</a> to find what can go wrong with UGLI before I actually use it. I mean with a name like that something&#39;s got to be worng <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=14&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2005/04/06/as-ugli-as-it-gets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
		<item>
		<title>Logged out !</title>
		<link>http://wakao.wordpress.com/2004/08/19/logged-out/</link>
		<comments>http://wakao.wordpress.com/2004/08/19/logged-out/#comments</comments>
		<pubDate>Thu, 19 Aug 2004 11:50:00 +0000</pubDate>
		<dc:creator>wakao</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://wakao.wordpress.com/2004/08/19/logged-out/</guid>
		<description><![CDATA[JDK 1.4 introduced logging with 1.4 of the JDK. I for my part was pathetically mired in System.out&#39;s and System.err&#39;s (hey I am still on JServ !!! yeah ol timer  ).
I am a eclipse user and now a &#34;eclipse evangelist&#34; at my company  . So for you Eclipse users stuck on err&#39;s or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=13&subd=wakao&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>JDK 1.4 introduced logging with 1.4 of the JDK. I for my part was pathetically mired in System.out&#39;s and System.err&#39;s (hey I am still on JServ !!! yeah ol timer <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p>
<p>I am a eclipse user and now a &quot;eclipse evangelist&quot; at my company <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . So for you Eclipse users stuck on err&#39;s or out&#39;s there is a way out. There is this cool eclipse plugin <a href="http://log4e.jayefem.de/index.php/Main_Page">log4E</a> that takes me to the promised land !</p>
<p>So now that I have no excuse I have started using the 1.4 logging. We had this homegrown logging system to use in our runtime application that was really slow, so I thought let&#39;s use 1.4 logging ! Hurray I am a genius. Now that I want to do that I realize why we wrote our own logging system in the first place (duh!). The existing system has a asynchronous logging system. What this means is that the application sends the log message and continues with normal execution, now the logging system will do the expensive operation of actually writing the message to file/database etc. Now that is clever isn&#39;t it !! So folks at Sun should be atleast as smart .. right ? Noooo <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  , such a thing is non-existent in the JDK! But now that I was sold on the architecture I decided to implement a Handler that does the same for 1.4 logging. So a google on the topic gave me a link to <a href="http://logging.apache.org/log4j/docs/api/org/apache/log4j/AsyncAppender.html">AsyncAppender</a> in the <a href="http://logging.apache.org/log4j/docs/index.html">Log4j</a> project, now that got me &quot;inspired&quot; and I hacked it into a Handler. It also needed 1 other significant change too. The Appender uses a Bounded FIFO whereas I could not live with the Bound constraint. So I had to put together a Queue (I used a linked list). So now I have a decent port of the Appender to Handler <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Now all that is left is integration and testing (why O why!). Will it make the cut ??</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wakao.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wakao.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wakao.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wakao.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wakao.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wakao.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wakao.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wakao.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wakao.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wakao.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wakao.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wakao.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wakao.wordpress.com&blog=80779&post=13&subd=wakao&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wakao.wordpress.com/2004/08/19/logged-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51c6aba310eaeb6a2afa449ad8cd4dff?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wakao</media:title>
		</media:content>
	</item>
	</channel>
</rss>