<?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/"
	>

<channel>
	<title>Unlikely Teacher &#187; Java</title>
	<atom:link href="http://unlikelyteacher.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://unlikelyteacher.com</link>
	<description>1. Share Everything* [Programming Gotchas, Technology News, Insights on Living and Everything in Between]</description>
	<lastBuildDate>Fri, 10 Sep 2010 02:59:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Eclipse 3.5 Galileo and SVN (Subversive)</title>
		<link>http://unlikelyteacher.com/2009/10/01/eclipse-galileo-and-svn-subversive/</link>
		<comments>http://unlikelyteacher.com/2009/10/01/eclipse-galileo-and-svn-subversive/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 03:55:01 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Galileo]]></category>
		<category><![CDATA[Subversive]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://unlikelyteacher.com/?p=483</guid>
		<description><![CDATA[With Subversive being an official Eclipse project (2007) and the recent Eclipse 3.5 Galileo release (2009), you may be wondering why Eclipse still does not have SVN support built-in. But don&#8217;t fuss, because it&#8217;s not that hard to configure SVN support (using Subversive) with a few simple steps. This document aims to guide you with [...]]]></description>
			<content:encoded><![CDATA[<p>With Subversive being an official Eclipse project (2007) and the recent Eclipse 3.5 Galileo release (2009), you may be wondering why Eclipse still does not have SVN support built-in.</p>
<p>But don&#8217;t fuss, because it&#8217;s not that hard to configure SVN support (using Subversive) with a few simple steps. This document aims to guide you with the install process.</p>
<p>The first time you try to run Eclipse Galileo and click any of the update sites, you&#8217;ll probably receive the &#8220;Unable to read repository at &#8230;&#8221; error like what is shown below:</p>
<p><img class="aligncenter size-full wp-image-487" title="Update Error" src="http://unlikelyteacher.com/wp-content/uploads/2009/10/UpdateError-resized.png" alt="Update Error" width="500" height="445" /></p>
<p>To fix this problem, simply select &#8220;Galileo&#8221; (or any other update site you wish to use) from the &#8220;Available Software Sites&#8221; link (Help&gt;Install New Software) and click the &#8220;Test Connection&#8221; option on the right.</p>
<p><img class="aligncenter size-full wp-image-488" title="Test Connection" src="http://unlikelyteacher.com/wp-content/uploads/2009/10/TestConnection-resized.png" alt="Test Connection" width="550" height="388" /></p>
<p>Click &#8220;OK&#8221; when done and select &#8220;Galileo&#8221; from the &#8220;Available Software&#8221; dropdown.</p>
<p><img class="aligncenter size-full wp-image-490" title="Available Software" src="http://unlikelyteacher.com/wp-content/uploads/2009/10/AvailableSoftware-resized.png" alt="Available Software" width="510" height="454" /></p>
<p>From the Galileo Update site, choose &#8220;Collaboration &gt; Subversive SVN Team Provider&#8221;.</p>
<p><img class="aligncenter size-full wp-image-492" title="Collaboration Subversive" src="http://unlikelyteacher.com/wp-content/uploads/2009/10/CollaborationSubversive-resized.png" alt="Collaboration Subversive" width="600" height="272" /></p>
<p>Click Finish/OK when done. Due to licensing restrictions, the connectors need to be installed using another update site.</p>
<p>To do this, simply &#8220;Add&#8221; the &#8220;Subversive SVN Connectors&#8221; Update Site: http://community.polarion.com/projects/subversive/download/eclipse/2.0/galileo-site/</p>
<p><img class="aligncenter size-full wp-image-493" title="Add Subversive Connectors Update Site" src="http://unlikelyteacher.com/wp-content/uploads/2009/10/AddSubversiveConnectorsUpdateSite.png" alt="Add Subversive Connectors Update Site" width="408" height="169" /></p>
<p>Select the Subversion Connectors you need (select all if you&#8217;re not sure which ones) and Install.</p>
<p><img class="aligncenter size-full wp-image-496" title="Select Subversive Connectors" src="http://unlikelyteacher.com/wp-content/uploads/2009/10/SelectSubversiveConnectors-resized.png" alt="Select Subversive Connectors" width="550" height="550" /></p>
<p>After the installation process, you will be  asked for restart of a Eclipse for the changes to take effect.</p>
<p>To see the available options for SVN, open the &#8220;SVN Repository Exploring&#8221; perspective.</p>
<p><img class="aligncenter size-full wp-image-500" title="SVN Repository Exploring Perspective" src="http://unlikelyteacher.com/wp-content/uploads/2009/10/SVNPerspective.png" alt="SVN Repository Exploring Perspective" width="427" height="219" /></p>
<p>Hope this helps. Comments and feedback are much appreciated.</p>
<p>Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2009/10/01/eclipse-galileo-and-svn-subversive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP writeUTF implementation</title>
		<link>http://unlikelyteacher.com/2009/05/12/php-writeutf-implementation/</link>
		<comments>http://unlikelyteacher.com/2009/05/12/php-writeutf-implementation/#comments</comments>
		<pubDate>Tue, 12 May 2009 04:02:50 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[pack()]]></category>

		<guid isPermaLink="false">http://dayg.slingandstoneweb.com/?p=371</guid>
		<description><![CDATA[We currently have an application in Groovy/Grails/Java that we&#8217;re slowly porting to PHP (for more affordable hosting costs). We encountered a problem when we needed to convert one of our routines for writing out a binary file. We were using Java&#8217;s DataOutputStream.writeUTF(String) method and had a hard time trying to write binary data in PHP. [...]]]></description>
			<content:encoded><![CDATA[<p>We currently have an application in Groovy/Grails/Java that we&#8217;re slowly porting to PHP (for more affordable hosting costs).</p>
<p>We encountered a problem when we needed to convert one of our routines for writing out a binary file. We were using Java&#8217;s DataOutputStream.writeUTF(String) method and had a hard time trying to write binary data in PHP.</p>
<p>After much research on the web, we found a method in PHP called <a href="http://www.php.net/pack">pack()</a>. Below is our PHP implementation of Java&#8217;s DOS.writeUTF(String).</p>
<pre class="brush: php">
	public static function writeUTF($string) {
		$utfString = utf8_encode($string);
		$length = strlen($utfString);
		print(pack(&quot;n&quot;, $length));
		print($utfString);
		flush();
	}
</pre>
<p>We don&#8217;t claim this to be the exact equivalent of the method, but it gets the job done and the receiving end of the file was able to parse the binary file properly with the new PHP implementation with no modifications to the client code.</p>
<p>Please checkout the <a href="http://www.php.net/pack">pack(</a>) documentation for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2009/05/12/php-writeutf-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginning Groovy and Grails eBook for $10</title>
		<link>http://unlikelyteacher.com/2008/08/05/beginning-groovy-and-grails-ebook-for-10/</link>
		<comments>http://unlikelyteacher.com/2008/08/05/beginning-groovy-and-grails-ebook-for-10/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 08:28:38 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[JSF]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=157</guid>
		<description><![CDATA[As always, I&#8217;m very pleased to announce an excellent offering from the Apress daily deal site. Beginning Groovy and Grails I&#8217;ve been entertaining the thought of trying out either Wicket or Grails for my next web project. The release of this discounted book answers my question of which framework to try out first. Will this [...]]]></description>
			<content:encoded><![CDATA[<p>As always, I&#8217;m very pleased to announce an excellent offering from the <a href="http://apress.com/info/dailydeal">Apress daily deal site</a>.</p>
<p><a href="http://www.amazon.com/gp/product/1430210451/104-2616196-5897505?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1430210451"><img src="http://rcm-images.amazon.com/images/I/51805IymL2L._SL75_.jpg" border="0" alt="1430210451" /></a> <strong> <a href="http://www.amazon.com/gp/product/1430210451/104-2616196-5897505?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1430210451">Beginning Groovy and Grails</a></strong></p>
<p>I&#8217;ve been entertaining the thought of trying out either Wicket or Grails for my next web project.</p>
<p>The release of this discounted book answers my question of which framework to try out first.</p>
<p>Will this finally be the end of JSF for me?</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/08/05/beginning-groovy-and-grails-ebook-for-10/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>An Eclipse Shirt For Me!</title>
		<link>http://unlikelyteacher.com/2008/08/05/an-eclipse-shirt-for-me/</link>
		<comments>http://unlikelyteacher.com/2008/08/05/an-eclipse-shirt-for-me/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 03:29:57 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Ganymede]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=153</guid>
		<description><![CDATA[I got an email this morning (well it arrived last Friday but I read it just today) telling me that I won a free shirt. Thank you for submitting a review of the Eclipse release to the Ganymede Around the World contest. We have an Eclipse shirt for you! Please send me your: 1) Name [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">I got an email this morning (well it arrived last Friday but I read it just today) telling me that I won a free shirt.</p>
<blockquote><p>Thank you for submitting a review of the Eclipse release to the <a href="http://www.eclipse.org/ganymede/aroundtheworld.php">Ganymede Around the World contest</a>.  We have an Eclipse shirt for you!  Please send me your:</p>
<p>1)       Name</p>
<p>2)       Shirt size (men’s small, medium, large, X-large, 2X-large or women’s small, medium, large)</p>
<p>3)       Mailing Address</p>
<p>4)       Phone Number (Fedex requires this for deliveries)</p>
<p>The contest closed yesterday, so all blog entries have been passed on to a panel of judges and we hope to have the winners of the Eclipse jackets and conference pass announced in a few weeks.</p>
<p>Thank you for participating and best of luck in the contest.</p></blockquote>
<p>Hope <a href="http://dayg.wordpress.com/2008/06/26/eclipse-34-ganymede-managing-extension-locations/">my blog entry</a> gets included for the other freebies!</p>
<p>Thanks Eclipse!</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/08/05/an-eclipse-shirt-for-me/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Certificates: PFX to JKS (Java Key Store) Conversion</title>
		<link>http://unlikelyteacher.com/2008/07/04/certificates-pfx-to-jks-java-key-store-conversion/</link>
		<comments>http://unlikelyteacher.com/2008/07/04/certificates-pfx-to-jks-java-key-store-conversion/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 07:06:59 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Certificates]]></category>
		<category><![CDATA[Java Key Store]]></category>
		<category><![CDATA[Jetty]]></category>
		<category><![CDATA[JKS]]></category>
		<category><![CDATA[PFX]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=122</guid>
		<description><![CDATA[I spent a considerable amount of time yesterday trying to figure out how to convert a PFX file to JKS. I tried several approaches including this one from BEA, but I could not seem to make them work. It was already very late when I saw an interesting blog post from CB1. And guess what? [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a considerable amount of time yesterday trying to figure out how to convert a PFX file to JKS.</p>
<p>I tried several approaches including <a href="http://dev2dev.bea.com/pub/a/2006/08/pfx-pem-certificate-formats.html" target="_blank">this one</a> from BEA, but I could not seem to make them work.</p>
<p>It was already very late when I saw an interesting <a href="http://cb1inc.com/2007/04/30/converting-pfx-certificates-to-java-keystores" target="_blank">blog post from CB1</a>.</p>
<p>And guess what? His solution worked!</p>
<p>The outlined steps use a special utility from <a href="http://www.mortbay.org/jetty-6/" target="_blank">Jetty&#8217;s</a> libraries.</p>
<blockquote><p>java -classpath lib/jetty-6.1.8.jar org.mortbay.jetty.security.PKCS12Import MyCert.pfx MyCert.jks</p></blockquote>
<p>Thanks to the Jetty developers for providing this utility.</p>
<p>And thanks to the original blog author for the tip.</p>
<p>Jetty rules!</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/07/04/certificates-pfx-to-jks-java-key-store-conversion/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Effective Java, Second Edition</title>
		<link>http://unlikelyteacher.com/2008/05/21/effective-java-second-edition/</link>
		<comments>http://unlikelyteacher.com/2008/05/21/effective-java-second-edition/#comments</comments>
		<pubDate>Wed, 21 May 2008 08:15:51 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=109</guid>
		<description><![CDATA[Joshua Bloch of Google is coming up with his second installment of the famous Effective Java book. Effective Java (2nd Ed) InfoQ has an interesting article about the upcoming book and provides a sample chapter on Generics free for download. Other books from Bloch include: Java Puzzlers Effective Java (1st Ed) Java Concurrency in Practice [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://java.sun.com/javaone/sf/2007/articles/rockstar_bloch.jsp" target="_blank">Joshua Bloch</a> of Google is coming up with his second installment of the famous Effective Java book.</p>
<p><a href="http://www.amazon.com/gp/product/0321356683/102-5933529-6312909?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=0321356683"><img src="http://rcm-images.amazon.com/images/I/51Y6dxwLIGL._SL75_.jpg" border="0" alt="0321356683" /></a> <strong> <a href="http://www.amazon.com/gp/product/0321356683/102-5933529-6312909?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=0321356683">Effective Java (2nd Ed)<br />
</a></strong></p>
<p>InfoQ has an <a href="http://www.infoq.com/articles/bloch-effective-java-2e" target="_blank">interesting article</a> about the upcoming book and provides a <a href="http://www.infoq.com/resource/articles/bloch-effective-java-2e/" target="_blank">sample chapter on Generics</a> free for download.</p>
<p>Other books from Bloch include:</p>
<ul>
<li><a href="http://www.amazon.com/gp/product/032133678X/102-5933529-6312909?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=032133678X" target="_blank">Java Puzzlers</a></li>
<li><a href="http://www.amazon.com/Effective-Java-Programming-Language-Guide/dp/0201310058/ref=pd_bbs_sr_2?ie=UTF8&amp;s=books&amp;qid=1211357209&amp;sr=8-2" target="_blank">Effective Java (1st Ed)</a></li>
<li><a href="http://www.amazon.com/gp/product/0321349601/102-5933529-6312909?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=0321349601" target="_blank">Java Concurrency in Practice (co-authored)</a></li>
</ul>
<p>I&#8217;ve benefited a lot from the original book and I&#8217;m excited to see how this updated version will turn out.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/05/21/effective-java-second-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Tech Days in Manila</title>
		<link>http://unlikelyteacher.com/2008/05/21/sun-tech-days-in-manila/</link>
		<comments>http://unlikelyteacher.com/2008/05/21/sun-tech-days-in-manila/#comments</comments>
		<pubDate>Wed, 21 May 2008 05:39:15 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Philippines]]></category>
		<category><![CDATA[SUN Microsystems]]></category>
		<category><![CDATA[Sun Tech Days]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=108</guid>
		<description><![CDATA[Sun Tech Days will be in Manila from June 17-19. Now in its 10th year, Tech Days is a Worldwide Developer Conference that spans 15 cities across the world reaching more than 100,000 developers. This is your chance to develop skills and advance your career in a Web 2.0 world; share knowledge and grow your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ph.sun.com/techdays" target="_blank">Sun Tech Days</a> will be in Manila from June 17-19.</p>
<blockquote><p>Now in its 10th year, Tech Days is a Worldwide Developer Conference that spans 15 cities across the world reaching more than 100,000 developers. This is your chance to develop skills and advance your career in a Web 2.0 world; share knowledge and grow your network; participate in communities with fellow developers changing the face of technology.</p></blockquote>
<p>Below are some details on what the sessions will be like:</p>
<blockquote><p><span class="SPAN_GreyParaHilite">Two Java development tracks will cover sessions in the following areas:</span></p>
<ul>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track1">Java EE 6 and GlassFish</a></li>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track2">Java SE 6 Top 10 features, Java SE 7 and OpenJDK</a></li>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track3">Next Generation Web and Java Server Faces</a></li>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track4">Consumer JRE: Java on Every Desktop OR Java Performance Myths</a></li>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track5">Project Metro and REST: Web Services Everywhere</a></li>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track6">Java ME: Extreme GUI Makeover for Mobile Phones</a></li>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track7">SOA using OpenESB and JCAP</a></li>
<li><a href="http://enterprise.circusmax.com/e1/hello/Load?EventID=q426ixym&amp;Pg=sessions#track8">Java Scripting: JavaFX Script and JRuby</a></li>
</ul>
</blockquote>
<p>So if you&#8217;re in the area, and have some annual leaves to spare, be sure to check them out.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/05/21/sun-tech-days-in-manila/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Does Certification Help?</title>
		<link>http://unlikelyteacher.com/2008/05/21/does-certification-help/</link>
		<comments>http://unlikelyteacher.com/2008/05/21/does-certification-help/#comments</comments>
		<pubDate>Wed, 21 May 2008 04:56:43 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Dotnet]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[IT Certification]]></category>
		<category><![CDATA[Java Certification]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=107</guid>
		<description><![CDATA[I was recently asked by a fellow Ranch Hand (through Private Message) regarding my take on Certifications. Subject: Does Certification Help? Message: Hi, I have done SCJP, SCWCD and will now give SCBCD and then SCEA. You have done these certifications. Does these help in career? Which country do u reside and what technology u [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently asked by a fellow <a href="http://faq.javaranch.com/java/SaloonTitles" target="_blank">Ranch Hand</a> (through Private Message) regarding my take on Certifications.</p>
<p>Subject:</p>
<blockquote><p>Does Certification Help?</p></blockquote>
<p>Message:</p>
<blockquote><p>Hi, I have done SCJP, SCWCD and will now give SCBCD and then SCEA. You have done these certifications. Does these help in career? Which country do u reside and what technology u work on. Which technologies do u see as emerging ones in the next 2 to 3 years which will stay long.</p></blockquote>
<p>Reply:</p>
<blockquote><p>I&#8217;m from the Philippines and in a way it helped me in my career because whenever we get assigned to a different client, our &#8216;paper&#8217; credentials are what they are interested in first.</p>
<p>But when you start working in a project, those certifications don&#8217;t really matter anymore and what matters more is that you deliver on time and with quality.</p>
<p>I must say that my drive for taking certifications is really to push myself towards a learning objective. Without these certification exams, I think I&#8217;ll be learning on a per need basis (I&#8217;ll just search the web whenever I encounter a problem). But these exams help me focus on topics which should come in handy in the future (even though some of them I don&#8217;t need yet).</p>
<p>For technologies, I think Web Services will be there for quite some time (but it&#8217;s unfortunate Sun hasn&#8217;t released the new exam for JAX-WS yet). After I finish SCEA Part II and III, I&#8217;m thinking of taking exams from other providers such as the Adobe Flex exam and probably some .Net exams.</p>
<p>Anyway, I hope this reply isn&#8217;t too long and I hope these are the kind of answers you&#8217;re expecting.</p></blockquote>
<p>In summary, I think certifications help in two areas.</p>
<ol>
<li>It helps in the candidate screening process</li>
<li>It helps developers have a learning objective</li>
</ol>
<p>So would I recommend taking certifications?</p>
<p>By all means do take certifications, especially if your company sponsors them.</p>
<p>But remember that at the end of the day, it is your work attitude and contribution that will really matter.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/05/21/does-certification-help/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TopLink JPA and HSQLDB Quirk</title>
		<link>http://unlikelyteacher.com/2008/05/14/toplink-jpa-and-hsqldb-quirk/</link>
		<comments>http://unlikelyteacher.com/2008/05/14/toplink-jpa-and-hsqldb-quirk/#comments</comments>
		<pubDate>Wed, 14 May 2008 09:58:01 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[HSQLDB]]></category>
		<category><![CDATA[JPA]]></category>
		<category><![CDATA[TopLink]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=105</guid>
		<description><![CDATA[I discovered a weird issue when using HSQLDB as database provider for TopLink JPA. We need to explicitly include the toplink.target-database property in the persistence.xml file to make it work. &#60;property name=&#34;toplink.target-database&#34; value=&#34;HSQL&#34;/&#62; Without that, you are most likely to get this error below when you run your application: Query: DataModifyQuery() at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:304) ... Caused [...]]]></description>
			<content:encoded><![CDATA[<p>I discovered a weird issue when using HSQLDB as database provider for TopLink JPA.</p>
<p>We need to explicitly include the <a href="http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html#TopLinkDBSessionAppServer" target="_blank">toplink.target-database</a> property in the persistence.xml file to make it work.</p>
<pre class="brush: xml">
&lt;property name=&quot;toplink.target-database&quot; value=&quot;HSQL&quot;/&gt;
</pre>
<p>Without that, you are most likely to get this error below when you run your application:</p>
<pre class="brush: java">

Query: DataModifyQuery()
	at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:304)
       ...
Caused by: java.sql.SQLException: Table not found in statement
</pre>
<p>I did not have that property set when I was using TopLink JPA with MySQL so I was a bit surprised why it was not working initially when I switched to HSQLDB.</p>
<p>Anyway, here&#8217;s the complete properties element of persistence.xml for HSQLDB for your reference:</p>
<pre class="brush: xml">
      &lt;properties&gt;
         &lt;property name=&quot;toplink.ddl-generation&quot; value=&quot;drop-and-create-tables&quot; /&gt;
         &lt;property name=&quot;toplink.jdbc.driver&quot; value=&quot;org.hsqldb.jdbcDriver&quot; /&gt;
         &lt;property name=&quot;toplink.jdbc.url&quot; value=&quot;jdbc:hsqldb:notifications&quot; /&gt;
         &lt;property name=&quot;toplink.jdbc.user&quot; value=&quot;sa&quot; /&gt;
         &lt;property name=&quot;toplink.jdbc.password&quot; value=&quot;&quot; /&gt;
         &lt;property name=&quot;toplink.target-database&quot; value=&quot;HSQL&quot;/&gt;
      &lt;/properties&gt;
</pre>
<p>Hope I can save you guys a lot of trouble through this post.</p>
<p>Because it certainly took me hours to figure this thing out.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/05/14/toplink-jpa-and-hsqldb-quirk/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Email/IM Notification with Log4J</title>
		<link>http://unlikelyteacher.com/2008/05/14/emailim-notification-with-log4j/</link>
		<comments>http://unlikelyteacher.com/2008/05/14/emailim-notification-with-log4j/#comments</comments>
		<pubDate>Wed, 14 May 2008 07:38:24 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JMS]]></category>
		<category><![CDATA[Log4J]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=104</guid>
		<description><![CDATA[For years, Log4J has been the de facto logging framework for Java. I&#8217;m not sure if most developers are already aware of this but there are a lot of other neat things you can do with Log4J aside from writing debug lines to plain text files. Among them are sending notifications through email, IM or [...]]]></description>
			<content:encoded><![CDATA[<p>For years, <a href="http://www.amazon.com/gp/product/1590594991/102-5933529-6312909?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1590594991" target="_blank">Log4J</a> has been the de facto logging framework for Java. I&#8217;m not sure if most developers are already aware of this but there are a lot of other neat things you can do with Log4J aside from writing debug lines to plain text files.</p>
<p>Among them are sending notifications through email, IM or even JMS when your log levels reach a certain threshold. It&#8217;s a pretty useful feature especially if you need to be notified in real-time of problems encountered in your application.</p>
<p>I&#8217;d like to share with you some articles which I found useful about this topic:</p>
<ul>
<li><a href="http://www.onjava.com/pub/a/onjava/2004/09/29/smtp-logging.html" target="_blank">Reporting Application Errors by Email</a></li>
<li><a href="http://today.java.net/pub/a/today/2005/09/16/errors-via-yahoo-im.html" target="_blank">Receive Application Errors via Yahoo Messenger</a></li>
<li><a href="http://www.ibm.com/developerworks/java/library/j-instlog/" target="_blank">Instant logging: Harness the power of log4j with Jabber</a></li>
<li><a href="http://www.ibm.com/developerworks/websphere/library/techarticles/0207_barcia/barcia.html" target="_blank">Develop an Asynchronous Logging Framework using log4j with JMS and WebSphere MQ</a></li>
<li><a href="http://www.devx.com/Java/Article/21708/" target="_blank">Track Your Apps with the Open Source Logging Framework, Log4j</a></li>
</ul>
<p>So whether you&#8217;re developing a desktop or a web application in Java it&#8217;s nice to know that you have these options.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/05/14/emailim-notification-with-log4j/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
