<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/java/tags/java</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 08 Sep 2008 04:56:11 GMT</pubDate>
<item>
<title>(Java) Serialization of Java object to AMF - narkisr</title>
<link>http://snipplr.com/view/7820/serialization-of-java-object-to-amf/</link>
<description><![CDATA[ <p>A working example that uses BlaszDS in order to serialize Java object into AMF (this code should be cleaned up a bit), in order for it to compile and work it is required to add flex-messaging-core.jar and flex-messaging-common.jar to the classpath.</p> ]]></description>
<pubDate>Mon, 11 Aug 2008 17:20:40 GMT</pubDate>
<guid>http://snipplr.com/view/7820/serialization-of-java-object-to-amf/</guid>
</item>
<item>
<title>(Java) OAF - Controller Code to create Javascript popup window - theonlyalterego</title>
<link>http://snipplr.com/view/7818/oaf--controller-code-to-create-javascript-popup-window/</link>
<description><![CDATA[ <p>Sample code from processFormRequest to pop up new window via javascript. worth noting: this is not recommended as it can break the OAF page.</p> ]]></description>
<pubDate>Mon, 11 Aug 2008 16:01:10 GMT</pubDate>
<guid>http://snipplr.com/view/7818/oaf--controller-code-to-create-javascript-popup-window/</guid>
</item>
<item>
<title>(Java) Convert java properties file from UTF to ASCII - Uzbekjon</title>
<link>http://snipplr.com/view/7721/convert-java-properties-file-from-utf-to-ascii/</link>
<description><![CDATA[ <p>You can use this command to convert your properties file to ASCII encoded file. Normally you'll need it to convert your language.properties file.</p> ]]></description>
<pubDate>Wed, 06 Aug 2008 01:20:48 GMT</pubDate>
<guid>http://snipplr.com/view/7721/convert-java-properties-file-from-utf-to-ascii/</guid>
</item>
<item>
<title>(Java) Custom loader for Junit Spring Runner - narkisr</title>
<link>http://snipplr.com/view/7527/custom-loader-for-junit-spring-runner/</link>
<description><![CDATA[ <p>This Loader enables the loading of a custom context when using Spring JUnit runner, this enables programmatic registration of beans of commonly used beans in tests.
This loader receive TestedService annotation in the processLocations method and uses its values to register beans in the loadContext method.
This snippets completes the following entry:
http://javadevelopmentforthemasses.blogspot.com/2008/07/mocking-spring-tests.html</p> ]]></description>
<pubDate>Sun, 27 Jul 2008 04:41:19 GMT</pubDate>
<guid>http://snipplr.com/view/7527/custom-loader-for-junit-spring-runner/</guid>
</item>
<item>
<title>(Java) Create a JavaBean - Uzbekjon</title>
<link>http://snipplr.com/view/7486/create-a-javabean/</link>
<description><![CDATA[ <p>This assumes that you want the resulting JAR file to be named BangBean.jar, and that you’ve put the manifest in a file called BangBean.mf</p> ]]></description>
<pubDate>Fri, 25 Jul 2008 04:01:54 GMT</pubDate>
<guid>http://snipplr.com/view/7486/create-a-javabean/</guid>
</item>
<item>
<title>(Java) Java Collection utilities - narkisr</title>
<link>http://snipplr.com/view/7334/java-collection-utilities/</link>
<description><![CDATA[ <p>This is a collection of useful static initializers of Java arrays, lists and maps.</p> ]]></description>
<pubDate>Wed, 16 Jul 2008 06:43:59 GMT</pubDate>
<guid>http://snipplr.com/view/7334/java-collection-utilities/</guid>
</item>
<item>
<title>(Java) Accessing windows registry in Java - narkisr</title>
<link>http://snipplr.com/view/6620/accessing-windows-registry-in-java/</link>
<description><![CDATA[ <p>A paste from a blog (http://lenkite.blogspot.com/2008/05/access-windows-registry-using-java.html) entry which demonstrates how to access windows registry in Java.</p> ]]></description>
<pubDate>Sat, 07 Jun 2008 17:42:06 GMT</pubDate>
<guid>http://snipplr.com/view/6620/accessing-windows-registry-in-java/</guid>
</item>
<item>
<title>(Java) Get values from a checkbox - indianocean</title>
<link>http://snipplr.com/view/6114/get-values-from-a-checkbox/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 05 May 2008 08:50:53 GMT</pubDate>
<guid>http://snipplr.com/view/6114/get-values-from-a-checkbox/</guid>
</item>
<item>
<title>(Java) Download file using a servlet - indianocean</title>
<link>http://snipplr.com/view/5976/download-file-using-a-servlet/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 24 Apr 2008 05:25:38 GMT</pubDate>
<guid>http://snipplr.com/view/5976/download-file-using-a-servlet/</guid>
</item>
<item>
<title>(Java) Simply write an Excel file from POI to the file system - indianocean</title>
<link>http://snipplr.com/view/5769/simply-write-an-excel-file-from-poi-to-the-file-system/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 10 Apr 2008 11:29:45 GMT</pubDate>
<guid>http://snipplr.com/view/5769/simply-write-an-excel-file-from-poi-to-the-file-system/</guid>
</item>
<item>
<title>(Java) Spring and Hibernate simple configuration - narkisr</title>
<link>http://snipplr.com/view/5459/spring-and-hibernate-simple-configuration/</link>
<description><![CDATA[ <p>This spring context configures a simple hibernate session (for annotated classes).</p> ]]></description>
<pubDate>Mon, 17 Mar 2008 11:49:49 GMT</pubDate>
<guid>http://snipplr.com/view/5459/spring-and-hibernate-simple-configuration/</guid>
</item>
<item>
<title>(Java) Java 5 Enum HIbernate mapping - narkisr</title>
<link>http://snipplr.com/view/5379/java-5-enum-hibernate-mapping/</link>
<description><![CDATA[ <p>This is an example of how to map a Java 5 enum when using Hibernate ORM.</p> ]]></description>
<pubDate>Wed, 12 Mar 2008 12:40:15 GMT</pubDate>
<guid>http://snipplr.com/view/5379/java-5-enum-hibernate-mapping/</guid>
</item>
<item>
<title>(Java) Comm write - scinon</title>
<link>http://snipplr.com/view/5264/comm-write/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 03 Mar 2008 23:28:04 GMT</pubDate>
<guid>http://snipplr.com/view/5264/comm-write/</guid>
</item>
<item>
<title>(Java) Time comparation in Java - multani</title>
<link>http://snipplr.com/view/5161/time-comparation-in-java/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 06:55:19 GMT</pubDate>
<guid>http://snipplr.com/view/5161/time-comparation-in-java/</guid>
</item>
<item>
<title>(Java) Another Code - udayrayala</title>
<link>http://snipplr.com/view/5142/another-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Feb 2008 04:03:29 GMT</pubDate>
<guid>http://snipplr.com/view/5142/another-code/</guid>
</item>
<item>
<title>(Java) Get Base dir of webapplication - indianocean</title>
<link>http://snipplr.com/view/5016/get-base-dir-of-webapplication/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Feb 2008 06:37:44 GMT</pubDate>
<guid>http://snipplr.com/view/5016/get-base-dir-of-webapplication/</guid>
</item>
<item>
<title>(Java) Jasper report hibernate data source - narkisr</title>
<link>http://snipplr.com/view/4916/jasper-report-hibernate-data-source/</link>
<description><![CDATA[ <p>The data source which can be used in combination with jasper reports.</p> ]]></description>
<pubDate>Wed, 06 Feb 2008 08:38:37 GMT</pubDate>
<guid>http://snipplr.com/view/4916/jasper-report-hibernate-data-source/</guid>
</item>
<item>
<title>(Java) Simple tail like assertion - narkisr</title>
<link>http://snipplr.com/view/4859/simple-tail-like-assertion/</link>
<description><![CDATA[ <p>A simple testing assertion which looks up for a line within a file until a pre defined time frame ends (loosely based upon http://www.informit.com/guides/content.aspx?g=java&amp;seqNum=226).</p> ]]></description>
<pubDate>Thu, 31 Jan 2008 09:00:34 GMT</pubDate>
<guid>http://snipplr.com/view/4859/simple-tail-like-assertion/</guid>
</item>
<item>
<title>(Java) Hibernate config for JNDI datasource - slu</title>
<link>http://snipplr.com/view/4816/hibernate-config-for-jndi-datasource/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 29 Jan 2008 08:56:42 GMT</pubDate>
<guid>http://snipplr.com/view/4816/hibernate-config-for-jndi-datasource/</guid>
</item>
<item>
<title>(Java) A simple solution for "castless" spring application context - narkisr</title>
<link>http://snipplr.com/view/4707/a-simple-solution-for-castless-spring-application-context/</link>
<description><![CDATA[ <p>A very simple way of getting bean instances from Spring context without casting returned object, the assumption is that the bean id's are matching the classes names.</p> ]]></description>
<pubDate>Mon, 21 Jan 2008 12:08:37 GMT</pubDate>
<guid>http://snipplr.com/view/4707/a-simple-solution-for-castless-spring-application-context/</guid>
</item>
</channel>
</rss>