<?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>Hints and Kinks &#187; java</title>
	<atom:link href="http://matthew.mceachen.us/blog/tags/java/feed" rel="self" type="application/rss+xml" />
	<link>http://matthew.mceachen.us/blog</link>
	<description>HOWTOs and gotchas and tidbits, oh my.</description>
	<lastBuildDate>Wed, 28 Jul 2010 19:28:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Set up JAVA_HOME to track Java Preferences.app on Mac OS X</title>
		<link>http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html</link>
		<comments>http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html#comments</comments>
		<pubDate>Mon, 29 Mar 2010 16:40:57 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=847</guid>
		<description><![CDATA[Mac OS X&#8217;s Java Preferences.app has a pane for switching between versions of the JDK, but I just found out from a coworker (thanks, Mike!) that you can make your shell match that preference easily &#8212; just add this to &#8230; <a href="http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple spring integration testing</title>
		<link>http://matthew.mceachen.us/blog/simple-spring-integration-testing-801.html</link>
		<comments>http://matthew.mceachen.us/blog/simple-spring-integration-testing-801.html#comments</comments>
		<pubDate>Fri, 19 Feb 2010 03:43:33 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Software Development Mantras]]></category>
		<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[tdd]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=801</guid>
		<description><![CDATA[Spring has had a really nice unit test framework available for a while now, but the documentation can be a bit daunting. Here&#8217;s a super-simple example of adding dependency injection to an integration test: Here&#8217;s .../src/main/resources/spring.xml: &#38;lt;?xml version=&#38;quot;1.0&#38;quot; encoding=&#38;quot;UTF-8&#38;quot;?&#38;gt; &#38;lt;beans &#8230; <a href="http://matthew.mceachen.us/blog/simple-spring-integration-testing-801.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/simple-spring-integration-testing-801.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to serve a transparent 1&#215;1 pixel GIF from a servlet</title>
		<link>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html</link>
		<comments>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html#comments</comments>
		<pubDate>Wed, 25 Nov 2009 03:21:19 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=711</guid>
		<description><![CDATA[The first issue was how to build the smallest possible byte array that represents a 1&#215;1 GIF. Using ImageMagick piped to base64 made it easy to embed into java code: convert -size 1x1 xc:transparent gif:- &#124; base64 At servlet load &#8230; <a href="http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to increase maven heapspace in hudson builds</title>
		<link>http://matthew.mceachen.us/blog/how-to-increase-maven-heapspace-in-hudson-builds-696.html</link>
		<comments>http://matthew.mceachen.us/blog/how-to-increase-maven-heapspace-in-hudson-builds-696.html#comments</comments>
		<pubDate>Mon, 23 Nov 2009 22:22:07 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[maven2]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=696</guid>
		<description><![CDATA[If your maven-built project fails in hudson (especially when you&#8217;re using the assembly plugin) and it isn&#8217;t a compile or test failure, check the console output. If it says &#8220;java.lang.OutOfMemoryError: Java heap space&#8221;, you need to configure your hudson job &#8230; <a href="http://matthew.mceachen.us/blog/how-to-increase-maven-heapspace-in-hudson-builds-696.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/how-to-increase-maven-heapspace-in-hudson-builds-696.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to add a version number to your maven webapp</title>
		<link>http://matthew.mceachen.us/blog/how-to-add-a-version-number-to-your-maven-webapp-482.html</link>
		<comments>http://matthew.mceachen.us/blog/how-to-add-a-version-number-to-your-maven-webapp-482.html#comments</comments>
		<pubDate>Sat, 18 Jul 2009 05:30:24 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[maven2]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=482</guid>
		<description><![CDATA[I couldn&#8217;t find a simple recipe to add a version number to a maven-built webapp. The maven-war-plugin talks about how to filter, but no simple example is given. So. I&#8217;ll assume you are building your webapp with hudson, that you&#8217;re &#8230; <a href="http://matthew.mceachen.us/blog/how-to-add-a-version-number-to-your-maven-webapp-482.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/how-to-add-a-version-number-to-your-maven-webapp-482.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set up your Maven2 POM to support Java5</title>
		<link>http://matthew.mceachen.us/blog/how-to-set-up-your-maven2-pom-to-support-java5-419.html</link>
		<comments>http://matthew.mceachen.us/blog/how-to-set-up-your-maven2-pom-to-support-java5-419.html#comments</comments>
		<pubDate>Fri, 05 Jun 2009 23:43:14 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven2]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=419</guid>
		<description><![CDATA[Seeing this? [bash highlight="3,4"] $ mvn compile &#8230; generics are not supported in -source 1.3 (try -source 1.5 to enable generics) [/bash] You need to tell the maven-compiler-plugin to use java 1.5. Add this to your pom.xml: &#38;lt;project&#38;gt; ... &#38;lt;build&#38;gt; &#8230; <a href="http://matthew.mceachen.us/blog/how-to-set-up-your-maven2-pom-to-support-java5-419.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/how-to-set-up-your-maven2-pom-to-support-java5-419.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IDEA versus Eclipse</title>
		<link>http://matthew.mceachen.us/blog/idea-versus-eclipse-348.html</link>
		<comments>http://matthew.mceachen.us/blog/idea-versus-eclipse-348.html#comments</comments>
		<pubDate>Fri, 27 Feb 2009 03:28:23 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=348</guid>
		<description><![CDATA[IDEA has been giving me grief lately. Fed up with mysterious pauses, bugs in svn moves, and crashes even after performing cache-deletion voodoo in IDE, I&#8217;m back to trying Eclipse. Keystroke differences and functionality differences have been the major stumbling &#8230; <a href="http://matthew.mceachen.us/blog/idea-versus-eclipse-348.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/idea-versus-eclipse-348.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Simple Log4J eclipse template</title>
		<link>http://matthew.mceachen.us/blog/simple-log4j-eclipse-template-346.html</link>
		<comments>http://matthew.mceachen.us/blog/simple-log4j-eclipse-template-346.html#comments</comments>
		<pubDate>Thu, 26 Feb 2009 21:15:45 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[log4j]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=346</guid>
		<description><![CDATA[Do you use eclipse and log4j? Do you have a template to add a static Logger instance in classes? Do you have to manually add the import? HA! NO MORE! Under Preferences > Java > Editor > Templates, click New&#8230; &#8230; <a href="http://matthew.mceachen.us/blog/simple-log4j-eclipse-template-346.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/simple-log4j-eclipse-template-346.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>java rake db:migrate implementations</title>
		<link>http://matthew.mceachen.us/blog/java-rake-dbmigrate-implementations-307.html</link>
		<comments>http://matthew.mceachen.us/blog/java-rake-dbmigrate-implementations-307.html#comments</comments>
		<pubDate>Tue, 03 Feb 2009 08:55:21 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=307</guid>
		<description><![CDATA[I was surprised that there were so many libraries that do the same thing &#8212; manage change in  your database schema. Here&#8217;s what I&#8217;ve found so far: Liquibase (migrations are specified in db-generic XML) migrate4j (migrations must be writted in &#8230; <a href="http://matthew.mceachen.us/blog/java-rake-dbmigrate-implementations-307.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/java-rake-dbmigrate-implementations-307.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Toys</title>
		<link>http://matthew.mceachen.us/blog/new-toys-305.html</link>
		<comments>http://matthew.mceachen.us/blog/new-toys-305.html#comments</comments>
		<pubDate>Sat, 31 Jan 2009 22:36:48 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=305</guid>
		<description><![CDATA[Make friendly URLs easy with stapler Make library management hell less hellish with ivy (2.0 was just released) ACEGI is now &#8220;Spring Security,&#8221; whose new version purports lighter configuration requirements than previously. iBATIS Pipe Viewer (pv) &#8212; gives you a &#8230; <a href="http://matthew.mceachen.us/blog/new-toys-305.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/new-toys-305.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
