<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Extreme Java</title>
	<link>http://extremejava.tpk.com.br</link>
	<description>I'm not a guru, but sometimes I need to do some "unusual" things in Java. These things are so extreme that are not well documented. To help other Java users, I post my discoveries here.</description>
	<pubDate>Tue, 29 Dec 2009 19:50:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Conversational Scope on JSF 2.0 (without Custom Scope)</title>
		<link>http://extremejava.tpk.com.br/2009/12/29/conversational-scope-on-jsf-20-without-custom-scope/</link>
		<comments>http://extremejava.tpk.com.br/2009/12/29/conversational-scope-on-jsf-20-without-custom-scope/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:50:35 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Java EE]]></category>

		<category><![CDATA[conversational]]></category>

		<category><![CDATA[facelets]]></category>

		<category><![CDATA[jsf 2]]></category>

		<category><![CDATA[scope]]></category>

		<category><![CDATA[view scope]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/12/29/conversational-scope-on-jsf-20-without-custom-scope/</guid>
		<description><![CDATA[JSF 2.0 is finally out. One thing that you will notice is the absence of a &#8220;conversational&#8221; scope. That would solve a lot of problems I have, but, unfortunately, I must wait for the next release. Or not?
There&#8217;s no silver bullet to solve it, but I found a simple workaround using &#8220;view&#8221; scoped beans. Works [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/12/29/conversational-scope-on-jsf-20-without-custom-scope/feed/</wfw:commentRss>
		</item>
		<item>
		<title>File attributes on layer.xml</title>
		<link>http://extremejava.tpk.com.br/2009/12/15/file-attributes-on-layerxml/</link>
		<comments>http://extremejava.tpk.com.br/2009/12/15/file-attributes-on-layerxml/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 14:46:35 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[attributes]]></category>

		<category><![CDATA[fileobject]]></category>

		<category><![CDATA[layer]]></category>

		<category><![CDATA[platform]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/12/15/file-attributes-on-layerxml/</guid>
		<description><![CDATA[When registering files on NBM&#8217;s layer file, you can define attributes, too:
&#60;file name="my-pkg-MyClass.instance"&#62;
  &#60;attr name="mystr" stringvalue="value"/&#62;
  &#60;attr name="myint" intvalue="1"/&#62;
  &#60;attr name="mymethod"
    methodvalue="my.pkg.MyClass.myMethod"/&#62;
&#60;/file&#62;
They are avaliable as attributes of FileObject (through getAttribute). You can also use special attributes &#8220;instanceClass&#8221; to define a different class to instantiate or &#8220;instanceCreate&#8221; to define a [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/12/15/file-attributes-on-layerxml/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Customizing LiftWeb&#8217;s error/warning/notice messages</title>
		<link>http://extremejava.tpk.com.br/2009/11/12/customizing-liftwebs-errorwarningnotice-messages/</link>
		<comments>http://extremejava.tpk.com.br/2009/11/12/customizing-liftwebs-errorwarningnotice-messages/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 11:40:13 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Scala]]></category>

		<category><![CDATA[binding]]></category>

		<category><![CDATA[lift]]></category>

		<category><![CDATA[msgs]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/11/12/customizing-liftwebs-errorwarningnotice-messages/</guid>
		<description><![CDATA[After some CRUD experiments with LiftWeb, I&#8217;m really in love with the &#8220;view first&#8221; paradigm. Specially because the XHTML bindings are very webdesigner-friendly.
One big limitation is the &#60;lift:msgs&#62; snippet - it produces a mandatory &#8220;Error&#8221; title. This obligatory text is unacceptable when developing enterprise applications. Hopefully, there&#8217;s an workaround: you can create a snippet named [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/11/12/customizing-liftwebs-errorwarningnotice-messages/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Booleans in JPA (the portable way)</title>
		<link>http://extremejava.tpk.com.br/2009/10/21/booleans-in-jpa-the-portable-way/</link>
		<comments>http://extremejava.tpk.com.br/2009/10/21/booleans-in-jpa-the-portable-way/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 19:30:17 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Java EE]]></category>

		<category><![CDATA[boolean]]></category>

		<category><![CDATA[jpa]]></category>

		<category><![CDATA[oracle]]></category>

		<category><![CDATA[portable]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/10/21/booleans-in-jpa-the-portable-way/</guid>
		<description><![CDATA[If you want to map a boolean value in JPA, you will have a headache if your RDBMS is Oracle. Since it does not support a boolean data type, you usually create a CHAR(1) &#8216;Y&#8217;/'N&#8217; field and use a lot of bad words to describe the feeling you have when you find out that JPA [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/10/21/booleans-in-jpa-the-portable-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Copying html attributes on Lift bindings</title>
		<link>http://extremejava.tpk.com.br/2009/09/18/copying-html-attributes-on-lift-bindings/</link>
		<comments>http://extremejava.tpk.com.br/2009/09/18/copying-html-attributes-on-lift-bindings/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 11:40:02 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Scala]]></category>

		<category><![CDATA[attributes]]></category>

		<category><![CDATA[binding]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[lift]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/09/18/copying-html-attributes-on-lift-bindings/</guid>
		<description><![CDATA[Since Java and Scala are complementary, I will post Scala-related stuff here, too (without creating a new blog).
Today&#8217;s tip refers to Lift (Scala&#8217;s JavaEE/Rails/Grails/Django). Suppose your webdesigner gives you this XHTML:
&#60;input type="text" class="x" style="width: 100px;"/&#62;
When you bind this using Lift, one of possible solutions is surround it with a tag:
&#60;mybind:myfield&#62;&#60;input type="text" class="x" style="width: 100px;"/&#62;&#60;/mybind:myfield&#62;
Please notice [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/09/18/copying-html-attributes-on-lift-bindings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mandelbrot with Scala and Java</title>
		<link>http://extremejava.tpk.com.br/2009/09/16/mandelbrot-with-scala-and-java/</link>
		<comments>http://extremejava.tpk.com.br/2009/09/16/mandelbrot-with-scala-and-java/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 20:45:40 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Scala]]></category>

		<category><![CDATA[mandelbrot]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/09/16/mandelbrot-with-scala-and-java/</guid>
		<description><![CDATA[I&#8217;m testing if Scala can be used to increase productivity here. Pretty nice language: as powerful as Ruby and JVM-compatible. To improve my skills, I decided to implement Mandelbrot on Scala, using Swing&#8217;s BufferedImage to show the image. Very simple, indeed. The code is:
import java.awt.image.BufferedImage
import javax.swing.ImageIcon
import javax.swing.JFrame
import javax.swing.JLabel
object Mandelbrot extends Application {
  case class Complex(r [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/09/16/mandelbrot-with-scala-and-java/feed/</wfw:commentRss>
		</item>
		<item>
		<title>That&#8217;s extreme!</title>
		<link>http://extremejava.tpk.com.br/2009/09/16/thats-extreme/</link>
		<comments>http://extremejava.tpk.com.br/2009/09/16/thats-extreme/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 11:31:53 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Java SE]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/09/16/thats-extreme/</guid>
		<description><![CDATA[And, talking about being extreme, I found a mix of bytecode programming with ASCII art&#8230;
]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/09/16/thats-extreme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using JBoss as a remote datasource provider</title>
		<link>http://extremejava.tpk.com.br/2009/07/20/using-jboss-as-a-remote-datasource-provider/</link>
		<comments>http://extremejava.tpk.com.br/2009/07/20/using-jboss-as-a-remote-datasource-provider/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 13:20:08 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Java EE]]></category>

		<category><![CDATA[datasource]]></category>

		<category><![CDATA[JBoss]]></category>

		<category><![CDATA[naming]]></category>

		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/07/20/using-jboss-as-a-remote-datasource-provider/</guid>
		<description><![CDATA[After some trial-and-error, I managed to use a JBoss 5 as a JNDI server and a Tomcat as a JNDI client. If you plan to make a JBoss DataSource public, just add a &#8220;&#60;use-java-context&#62;false&#60;/use-java-context&#62;&#8221; to your &#8220;&#60;local-tx-datasource&#62;&#8221;.
Tomcat is easy to configure. You need to add a resource like this one (&#8221;look mom! no password!&#8221;):
&#60;Resource name="jdbc/myds"
    [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/07/20/using-jboss-as-a-remote-datasource-provider/feed/</wfw:commentRss>
		</item>
		<item>
		<title>NetBeans 6.7</title>
		<link>http://extremejava.tpk.com.br/2009/06/30/netbeans-67/</link>
		<comments>http://extremejava.tpk.com.br/2009/06/30/netbeans-67/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 11:31:04 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[6.7]]></category>

		<category><![CDATA[hudson]]></category>

		<category><![CDATA[maven]]></category>

		<category><![CDATA[oql]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/06/30/netbeans-67/</guid>
		<description><![CDATA[Two days ago, NetBeans 6.7 was released. These are the new features I tested:

Maven integration was improved with autocomplete and dependency graph;
Profiler&#8217;s HeapWalker supports OQL - very useful if you do memory tunning;
Hudson server management and a status bar icon with build status.

See more at release page!
]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/06/30/netbeans-67/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Spring with Mojarra InjectionProvider</title>
		<link>http://extremejava.tpk.com.br/2009/05/22/using-spring-with-mojarra-injectionprovider/</link>
		<comments>http://extremejava.tpk.com.br/2009/05/22/using-spring-with-mojarra-injectionprovider/#comments</comments>
		<pubDate>Fri, 22 May 2009 11:41:57 +0000</pubDate>
		<dc:creator>Eduardo Costa</dc:creator>
		
		<category><![CDATA[Java EE]]></category>

		<category><![CDATA[autowire]]></category>

		<category><![CDATA[injection]]></category>

		<category><![CDATA[injectionprovider]]></category>

		<category><![CDATA[jsf]]></category>

		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://extremejava.tpk.com.br/2009/05/22/using-spring-with-mojarra-injectionprovider/</guid>
		<description><![CDATA[Are you using SpringBeanFacesELResolver to handle dependency injection on managed beans? It works nice, but your faces-config grows fast with this approach.
Two months ago, I posted about using Spring injection outside application context. I forgot to mention that the same trick can be used to replace ELResolver solution if you are using Mojarra as your [...]]]></description>
		<wfw:commentRss>http://extremejava.tpk.com.br/2009/05/22/using-spring-with-mojarra-injectionprovider/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
