<?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>Onlinenerd24 &#187; java</title>
	<atom:link href="http://www.onlinenerd24.de/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onlinenerd24.de</link>
	<description>iPhone, SEO, Marketing</description>
	<lastBuildDate>Wed, 16 Feb 2011 09:22:39 +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>Adding Plugins to Ibator</title>
		<link>http://www.onlinenerd24.de/2010/02/20/adding-plugins-to-ibator/</link>
		<comments>http://www.onlinenerd24.de/2010/02/20/adding-plugins-to-ibator/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 08:58:35 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=534</guid>
		<description><![CDATA[<a href="http://www.onlinenerd24.de/2010/02/20/adding-plugins-to-ibator/"><img align="left" hspace="5" width="150" height="150" src="http://www.onlinenerd24.de/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Ibator (formerly knows as &#8216;Abator&#8217;) is an invaluable code generator to create all necessary code to access database tables with the (also pretty invaluable) Java OR framework Ibatis. Ibator creates a variety of SQL code to easily build here-clauses to acces your tables. The one thing that is missing is support for the SQl &#8220;limit&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ibatis.apache.org/ibator.html" target=_blank>Ibator</a> (formerly knows as &#8216;Abator&#8217;) is an invaluable code generator to create all necessary code to access database tables with the (also pretty invaluable) Java OR framework <a href="http://ibatis.apache.org/" target=_blank>Ibatis</a>.<br />
Ibator creates a variety of SQL code to easily build here-clauses to acces your tables. The one thing that is missing is support for the SQl &#8220;limit&#8221; clause which is offered by Mysql and other popular databases.</p>
<p>A guy called harawata has created a <a href="http://harawata.blogspot.com/2009/02/this-ibator-plugin-adds-setlimitclause.html" target=_blank>plugin for Ibator</a>, which creates code to easily add &#8220;limit&#8221; clauses to your db-calls. Thank a lot for this (once again invaluable) tool! You might also want to check out his other plugins.</p>
<p>Ok, so now how to add these Plugins to the code generator?  You need to compile the classes with ibator.jar in the classpath.</p>
<p>Then enable the Plugin in your ibatorConfig.xml file within the &lt;ibatorContext&gt;:</p>
<blockquote><p>&lt;ibatorPlugin type=&#8221;AddLimitClausePlugin&#8221;&gt;&lt;/ibatorPlugin&gt;</p></blockquote>
<p>Finally add the resulting Plugin-file to the classpath when calling Ibator:</p>
<blockquote><p>java -cp ibator.jar:limit.jar org.apache.ibatis.ibator.api.IbatorRunner -configfile ibatorConfig.xml -overwrite</p></blockquote>
<p>Of course this will also work when starting Ibator from an ant file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2010/02/20/adding-plugins-to-ibator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hassle-free date formatting in Java</title>
		<link>http://www.onlinenerd24.de/2007/07/02/hassle-free-date-formating-in-java/</link>
		<comments>http://www.onlinenerd24.de/2007/07/02/hassle-free-date-formating-in-java/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 16:29:15 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/2007/07/02/hassle-free-date-formating-in-java/</guid>
		<description><![CDATA[<a href="http://www.onlinenerd24.de/2007/07/02/hassle-free-date-formating-in-java/"><img align="left" hspace="5" width="150" height="150" src="http://www.onlinenerd24.de/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Are you a Java programmer and always hated it to handle Dates, Calendars, DateFormatter and the kind just to display a simple and small java.util.Date correctly? One again the Apache commons library comes to a rescue! Programmer&#8217;s little helper in this lesson is the FastDateFormat class. Just instantiate a n object , pass your desired [...]]]></description>
			<content:encoded><![CDATA[<p>Are you a Java programmer and always hated it to handle Dates, Calendars, DateFormatter and the kind just to display a simple and small java.util.Date correctly?</p>
<p>One again the Apache commons library comes to a rescue! Programmer&#8217;s little helper in this lesson is the <a href="http://www.pfountz.com/commonslang2/org/apache/commons/lang/time/FastDateFormat.html">FastDateFormat</a> class. Just instantiate a n object , pass  your desired Locale and you are ready to format any Date with date and/or time to your wishes. Either you use the built-in formattes &#8220;SHORT, MEDIUM, LONG, FULL&#8221; or pass a <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html">custom pattern</a>.</p>
<p>Here&#8217;s a little example:</p>
<pre>import org.apache.commons.lang.time.FastDateFormat;
FastDateFormat df = FastDateFormat.getDateTimeInstance(
FastDateFormat.SHORT, FastDateFormat.SHORT, Locale.US);
System.out.writeln(df.format(creationdate));</pre>
<p>FastDateFormat has a lot of initializers and functions to format your date and time values for your needs. Make sure to check out more classes of the <a href="http://jakarta.apache.org/commons/lang/">org.apache.commons.lang package</a>, that holds a lot of gems which make a java programmer&#8217;s day much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2007/07/02/hassle-free-date-formating-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>übrigens: hashmap&#8230;</title>
		<link>http://www.onlinenerd24.de/2007/01/08/ubrigens-hashmap/</link>
		<comments>http://www.onlinenerd24.de/2007/01/08/ubrigens-hashmap/#comments</comments>
		<pubDate>Mon, 08 Jan 2007 11:13:20 +0000</pubDate>
		<dc:creator>17Zoll</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/2007/01/08/ubrigens-hashmap/</guid>
		<description><![CDATA[<a href="http://www.onlinenerd24.de/2007/01/08/ubrigens-hashmap/"><img align="left" hspace="5" width="150" height="150" src="http://www.onlinenerd24.de/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Übrigens: HashMap ist keine Karte von Amsterdam!]]></description>
			<content:encoded><![CDATA[<p>Übrigens: HashMap ist keine Karte von Amsterdam!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2007/01/08/ubrigens-hashmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arrogantes Deployment</title>
		<link>http://www.onlinenerd24.de/2006/10/26/arrogantes-deployment/</link>
		<comments>http://www.onlinenerd24.de/2006/10/26/arrogantes-deployment/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 10:41:15 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/2006/10/26/arrogantes-deployment/</guid>
		<description><![CDATA[<a href="http://www.onlinenerd24.de/2006/10/26/arrogantes-deployment/"><img align="left" hspace="5" width="150" height="150" src="http://www.onlinenerd24.de/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Unglaublich, was sich Ant manchmal einbuildet&#8230;]]></description>
			<content:encoded><![CDATA[<p>Unglaublich, was sich Ant manchmal einbuildet&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2006/10/26/arrogantes-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java und Objekte</title>
		<link>http://www.onlinenerd24.de/2006/07/13/java-und-objekte/</link>
		<comments>http://www.onlinenerd24.de/2006/07/13/java-und-objekte/#comments</comments>
		<pubDate>Thu, 13 Jul 2006 12:45:05 +0000</pubDate>
		<dc:creator>17Zoll</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/2006/07/13/java-und-objekte/</guid>
		<description><![CDATA[<a href="http://www.onlinenerd24.de/2006/07/13/java-und-objekte/"><img align="left" hspace="5" width="150" height="150" src="http://www.onlinenerd24.de/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Es sagte die String Variable zum Programmierer: &#8220;Du behandelst mich wie ein Objekt!&#8221;]]></description>
			<content:encoded><![CDATA[<p>Es sagte die String Variable zum Programmierer: &#8220;Du behandelst mich wie ein Objekt!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2006/07/13/java-und-objekte/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

