<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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>javaee &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/javaee/</link>
	<description>Feed of posts on WordPress.com tagged "javaee"</description>
	<pubDate>Mon, 07 Dec 2009 19:56:08 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Wicket in OC4J / OracleAS]]></title>
<link>http://webmoli.com/2009/11/22/wicket-in-oc4j-oracleas/</link>
<pubDate>Mon, 23 Nov 2009 03:35:27 +0000</pubDate>
<dc:creator>Venkat</dc:creator>
<guid>http://webmoli.com/2009/11/22/wicket-in-oc4j-oracleas/</guid>
<description><![CDATA[Recently I tried deploying wicket framework based web application in OC4J container it didn&#8217;t ]]></description>
<content:encoded><![CDATA[Recently I tried deploying wicket framework based web application in OC4J container it didn&#8217;t ]]></content:encoded>
</item>
<item>
<title><![CDATA[Spring Roo, Java seguirá vivo]]></title>
<link>http://hnzekto.wordpress.com/2009/11/20/spring-roo-java-seguira-vivo/</link>
<pubDate>Fri, 20 Nov 2009 08:19:04 +0000</pubDate>
<dc:creator>hnzekto</dc:creator>
<guid>http://hnzekto.wordpress.com/2009/11/20/spring-roo-java-seguira-vivo/</guid>
<description><![CDATA[Desde hace años, cada vez que se pone de moda un nuevo lenguaje de programación, junto a frameworks ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Desde hace años, cada vez que se pone de moda un nuevo lenguaje de programación, junto a frameworks orientados al desarrollo web ágil y rápido, se suele decir que Java va a morir, en cambio, sigue ahí, y con más energía que nunca.</p>
<p>Ya pasó con Python y el framework <a href="http://www.djangoproject.com/">Django</a>, junto con Ruby y el famoso <a href="http://rubyonrails.org/">Rails</a>, que además hacen jocosas parodias sobre el lenguaje Java, cuando en realidad Java es un lenguaje, una máquina virtual y una plataforma. Pero claro, si quieres hacer lo mismo que esos frameworks luego tendrías que añadir cualquiera de los cientos de frameworks que existen en el mundo Java: Hibernate, JPA, Spring, Struts, JSF, EJB,&#8230;</p>
<p>Pues bien, se acabó el rollo, con <a href="http://www.springsource.org/roo">Spring Roo</a> se puede realizar un desarrollo ágil igual que Django o Rails, pero llegando aún más allá. Incluye una consola donde, haciendo uso de autocompletado mediante TABs, puedes ir creando, paso a paso, todo lo necesario para implementar una aplicación web Maven2, haciendo uso de los frameworks tipo del mundo Java: Hibernate, Spring, MVC,&#8230; y con poco más que ir siguiendo los pasos que te indica la propia ayuda en línea de la consola.</p>
<p>El vídeo siguiente es muy autoexplicativo de la potencia y rapidez de Roo:</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/Gb1Z0lfl52I&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/Gb1Z0lfl52I&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JRebel - a productive tool for Java developers]]></title>
<link>http://webmoli.com/2009/11/15/jrebel-a-productive-tool-for-java-developers/</link>
<pubDate>Mon, 16 Nov 2009 03:06:00 +0000</pubDate>
<dc:creator>Venkat</dc:creator>
<guid>http://webmoli.com/2009/11/15/jrebel-a-productive-tool-for-java-developers/</guid>
<description><![CDATA[Java Rebel &#8211; a very useful productive tool One of my friend told me about JavaRebel. Later I t]]></description>
<content:encoded><![CDATA[Java Rebel &#8211; a very useful productive tool One of my friend told me about JavaRebel. Later I t]]></content:encoded>
</item>
<item>
<title><![CDATA[WebSphere eXtreme Scale 6 book review]]></title>
<link>http://itdevworld.wordpress.com/2009/11/16/websphere-extreme-scale-6-book-review/</link>
<pubDate>Mon, 16 Nov 2009 00:40:48 +0000</pubDate>
<dc:creator>rafaelri</dc:creator>
<guid>http://itdevworld.wordpress.com/2009/11/16/websphere-extreme-scale-6-book-review/</guid>
<description><![CDATA[Anyone designing a high performance transaction processing system has already needed at least a cach]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Anyone designing a high performance transaction processing system has already needed at least a caching solution for increasing response time on frequently used data. But sometimes these data might become bigger than usual, those are times when you need a sofisticate</p>
<div id="attachment_233" class="wp-caption alignright" style="width: 131px"><a href="http://www.packtpub.com/ibm-websphere-extreme-scale-6?utm_source=itdevworld.wordpress.com&#38;utm_medium=bookrev&#38;utm_content=blog&#38;utm_campaign=mdb_001416" target="_blank"><img class="size-thumbnail wp-image-233 " title="WebSphere eXtreme Scale" src="http://itdevworld.wordpress.com/files/2009/11/websphere-extreme.jpg?w=121" alt="WebSphere eXtreme Scale" width="121" height="150" /></a><p class="wp-caption-text">WebSphere eXtreme Scale Book</p></div>
<p>solution, something that can automatically fetch data from a slower storage, offload when not necessary, split its contents between various nodes, &#8230;</p>
<p>If you require something like this then you&#8217;ll notice that you need a DataGrid solution.</p>
<p>By now you&#8217;ll be asking yourself why I am on that subject? Recently I&#8217;ve been kindly invited to review a book about <a href="http://www.packtpub.com/ibm-websphere-extreme-scale-6?utm_source=itdevworld.wordpress.com&#38;utm_medium=bookrev&#38;utm_content=blog&#38;utm_campaign=mdb_001416" target="_blank">IBM WebSphere eXtreme Scale</a> from <a href="http://www.packtpub.com/" target="_blank">Packt Publishing</a>.</p>
<p>Apart from this, I work on a project where we were already evaluating WebSphere eXtreme Scale as a replacement for <a href="http://www.redbooks.ibm.com/redbooks/pdfs/sg247393.pdf" target="_blank">WebSphere DynaCache</a>.</p>
<p>If you are in a hurry and want to have a sneak peak on the book contents, take a look at the sample chapter (<a href="http://www.packtpub.com/files/7443-getting-started-with-ibm-websphere-sample-chapter-7-the-datagrid-api.pdf" target="_blank">Chapter 7: &#8220;The DataGrid API&#8221;</a>) available for free on Packt Publishing website.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Java - Object XML Mapping]]></title>
<link>http://webmoli.com/2009/11/11/java-object-xml-mapping/</link>
<pubDate>Wed, 11 Nov 2009 23:11:11 +0000</pubDate>
<dc:creator>Venkat</dc:creator>
<guid>http://webmoli.com/2009/11/11/java-object-xml-mapping/</guid>
<description><![CDATA[Have you written 1000s of buggie lines of code to parse XML? Generating an XML is easy but when it c]]></description>
<content:encoded><![CDATA[Have you written 1000s of buggie lines of code to parse XML? Generating an XML is easy but when it c]]></content:encoded>
</item>
<item>
<title><![CDATA[Apache Maven first step, repository central will be blacklisted ]]></title>
<link>http://cateof.wordpress.com/2009/10/29/apache-maven-first-step-repository-central-will-be-blacklisted/</link>
<pubDate>Thu, 29 Oct 2009 20:49:43 +0000</pubDate>
<dc:creator>cateof</dc:creator>
<guid>http://cateof.wordpress.com/2009/10/29/apache-maven-first-step-repository-central-will-be-blacklisted/</guid>
<description><![CDATA[I am doing some work with Apache Maven 2 today. Never touched this stuff before. I am following a tu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I am doing some work with Apache Maven 2 today. Never touched this stuff before. I am following <a href="https://www6.software.ibm.com/developerworks/education/j-mavenv2/section2.html" target="_blank">a tutorial at IBM developerWorks</a>. However if you sitting behing a proxy you will receive a &#8220;repository central will be blacklisted&#8221; fatal error. The execution will fail. Although it seems that we are searching for a &#8220;I am feeling lucky&#8221; google response, this is not the case. I didn&#8217;t find a clear answer with the first glance.</p>
<p>If you are facing the same problem we need to set a proxy via the command line like this:</p>
<p>prompt&#62;mvn &#8230; -DproxySet=true -DproxyHost=1.2.3.4 -DproxyPort=8080.</p>
<p>Setting the proxy details right is the solution here. You will be able now to create your first archetype.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Arsitektur Java Enterprise]]></title>
<link>http://dancpm.wordpress.com/2009/10/29/arsitektur-java-enterprise/</link>
<pubDate>Thu, 29 Oct 2009 09:32:00 +0000</pubDate>
<dc:creator>dancpm</dc:creator>
<guid>http://dancpm.wordpress.com/2009/10/29/arsitektur-java-enterprise/</guid>
<description><![CDATA[Aplikasi Enterprise umumnya memiliki arsitektur layer, dimana setiap layer memiliki tanggungjawab be]]></description>
<content:encoded><![CDATA[Aplikasi Enterprise umumnya memiliki arsitektur layer, dimana setiap layer memiliki tanggungjawab be]]></content:encoded>
</item>
<item>
<title><![CDATA[Mengenal Java Enterprise]]></title>
<link>http://dancpm.wordpress.com/2009/10/29/mengenal-java-enterprise/</link>
<pubDate>Thu, 29 Oct 2009 06:48:39 +0000</pubDate>
<dc:creator>dancpm</dc:creator>
<guid>http://dancpm.wordpress.com/2009/10/29/mengenal-java-enterprise/</guid>
<description><![CDATA[Kali ini saya bakal menulis serial pengetahuan dan tutorial tentang java dan tools yang terkait untu]]></description>
<content:encoded><![CDATA[Kali ini saya bakal menulis serial pengetahuan dan tutorial tentang java dan tools yang terkait untu]]></content:encoded>
</item>
<item>
<title><![CDATA[Setting up an environment]]></title>
<link>http://wwolfblogger.wordpress.com/2009/10/26/setting-up-an-environment/</link>
<pubDate>Mon, 26 Oct 2009 15:11:53 +0000</pubDate>
<dc:creator>wwolfblogger</dc:creator>
<guid>http://wwolfblogger.wordpress.com/2009/10/26/setting-up-an-environment/</guid>
<description><![CDATA[As a first step in order to prepare for the SCBCD exam, I&#8217;ll set up a programming environment.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>As a first step in order to prepare for the SCBCD exam, I&#8217;ll set up a programming environment. As I work with Eclipse in my job, I will do my exercises with Eclipse Galileo. I think Netbeans will be easier. We used it on the training course and it works really fine. Eclipse will be harder I think.</p>
<p>As with every Eclipse distribution, you&#8217;ll only have to download and unzip it. No installation. For Web- and Application Server I&#8217;ll use the Glassfish Server. As far as I can tell and I&#8217;ve learned in the sun training course, this is an implementation very close to the JavaEE and the Glassfish server is also very fast and lightweight. Usually I work with an IBM Websphere Server, which I cannot recommend because it is really fat and slow. So if there isn&#8217;t a special feature which only Webspere can provide, use something different.</p>
<p>Now I am starting to install and integrate the Glassfish Server into the Eclipse distribution.</p>
<p>Since Glassfish needs a whole JDK and not only a JRE to run, I started with the download of the recent JavaEE 5 SDK which includes the JDK 6 and the Glassfish 2.1 application server. This package should include everything necessary to start. The link to the download can be found <a title="Download Java JDK" href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">here</a>. After downloading the SDK, I added the JDK6 to the Java Runtime Environment. This is necessary to make the Glassfish server work correctly. Next step is to add the installed Glassfish Server to Eclipse. In the view Servers, add a new Server and download an additional adapter. There you found the Glassfish adapter to select. The installation failed on my system. Can these be anymore complex? Searching the internet I found the <a title="Glassfish PlugIn Error Solution" href="http://forums.java.net/jive/thread.jspa?messageID=364728" target="_blank">following solution</a>. This worked for me.</p>
<p>Then create a new Glassfish server and start it from the workbench. Usually you will find the server <a title="Glassfish localhost" href="http://localhost:4848/login.jsf" target="_self">here</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Internal Exception: java.sql.SQLSyntaxErrorException: Table/View 'APP. WEB_BOOKSTORE_BOOKS' does not exist]]></title>
<link>http://cateof.wordpress.com/2009/10/25/internal-exception-java-sql-sqlsyntaxerrorexception-tableview-app-web_bookstore_books-does-not-exist/</link>
<pubDate>Sun, 25 Oct 2009 20:04:21 +0000</pubDate>
<dc:creator>cateof</dc:creator>
<guid>http://cateof.wordpress.com/2009/10/25/internal-exception-java-sql-sqlsyntaxerrorexception-tableview-app-web_bookstore_books-does-not-exist/</guid>
<description><![CDATA[I lost almost 3 hours to make the bookstore1 application to work. This web app is a part of Java EE ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I lost almost 3 hours to make the bookstore1 application to work. This web app is a part of Java EE tutorial provided by Sun,<br />
however the first and most important application cannot be deployed by GlassFish. It returns the following error<br />
<em></em><em></em></p>
<h1>HTTP Status 500 -</h1>
<hr /><strong>type</strong> Exception report</p>
<p><strong>message</strong></p>
<p><strong>description</strong>The server encountered an internal error () that prevented it from fulfilling this request.</p>
<p><strong>exception</strong></p>
<pre>Exception [EclipseLink-4002] (Eclipse Persistence Services - 1.0.1 (Build 20080905)): org.eclipse.
persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLSyntaxErrorException: Table/View 'WEB_BOOKSTORE_BOOKS' does not exist.
Error Code: -1
Call: SELECT BOOKID, INVENTORY, PRICE, FIRSTNAME, SURNAME, CALENDAR_YEAR, ONSALE, TITLE,
DESCRIPTION FROM WEB_BOOKSTORE_BOOKS WHERE (BOOKID = ?)
	bind =&#62; [203]
Query: ReadObjectQuery(com.sun.bookstore.database.Book)</pre>
<p><strong>note</strong> <span style="text-decoration:underline;">The full stack traces of the exception and its root causes are available in the GlassFish/v3 logs.</span></p>
<hr />
<h3>GlassFish/v3</h3>
<p>In order to solve the problem you need to</p>
<ol>
<li>First create database connection to jdbc:derby://localhost:1527/<span style="font-weight:bold;color:#ff0000;">sun-appserv-samples</span> (and not to bookDB)</li>
<li>execute the tutorial.sql</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Curs scris online de EJB3]]></title>
<link>http://alexchiri.wordpress.com/2009/10/07/curs-scris-online-de-ejb3/</link>
<pubDate>Wed, 07 Oct 2009 07:47:46 +0000</pubDate>
<dc:creator>Alex Chiri</dc:creator>
<guid>http://alexchiri.wordpress.com/2009/10/07/curs-scris-online-de-ejb3/</guid>
<description><![CDATA[În feed-urile urmărite în dimineața asta am dat de cursul ăsta de EJB3. Ce are special? Mi-a placut ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>În feed-urile urmărite în dimineața asta am dat de cursul <a href="http://www.java-task.com/" target="_blank">ăsta</a> de EJB3. Ce are special? Mi-a placut că este un curs practic care constă în construirea unor aplicații pornindu-se de la niște cerințe concrete. Suportul din partea autorului scade gradual în construirea aplicațiilor. Este interesant că oferă o abordare completă a soluției aplicațiilor, pornind de la diagrame UML, arhitectură și cod.</p>
<p>Este inclusă și o carte electronică gratuită, “Mastering Enterprise JavaBeans 3.0”, ca suport teoretic. Soluțiile complete (proiecte Netbeans) sunt oferite de autor. La o primă vedere, mi se pare un curs util și o abordare care te invață prin practică. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Sun GlassFish Enterprise Server 2.1 Admin Konsolu login sorunu]]></title>
<link>http://avilabs.wordpress.com/2009/10/04/sun-glassfish-enterprise-server-2-1-admin-konsolu-login-sorunu/</link>
<pubDate>Sun, 04 Oct 2009 18:26:28 +0000</pubDate>
<dc:creator>avilabs</dc:creator>
<guid>http://avilabs.wordpress.com/2009/10/04/sun-glassfish-enterprise-server-2-1-admin-konsolu-login-sorunu/</guid>
<description><![CDATA[Glassfish Server 2.1 yüklemesi sırasında yönetim ekranına giriş yaptığım zaman hata veriyordu ve yön]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Glassfish Server 2.1 yüklemesi sırasında yönetim ekranına giriş yaptığım zaman hata veriyordu ve yönetim ekranına ulaşabilmek için sayfayı tekrar yenilemeniz gerekiyordu. Bu arada belirtmeliyim ki sorun aldığım bilgisayarda  &#8220;windows XP English&#8221; yüklü , bölgesel seçenekleri ise türkçe. Sorundan şu adımları izleyerek kurtulmamız mümkün.</p>
<p>1. Bilgisayarınızdan &#8220;D:\Sun\AppServer\domains\domain1\config&#8221; şu yola gidin.</p>
<p>2. &#8220;domain.xml&#8221; dosyasını açın ve  jvmoptions yazan ayarları bulun şu satırları ekleyin.</p>
<p>&#8220;&#60;jvm-options&#62;-Duser.language=en_us&#60;/jvm-options&#62;&#8221;</p>
<p>3. Serverı yeniden başlatın sorunun çözülmüş olması lazım. Zira benimki bu şekilde düzeldi.</p>
<p>Avilabs.<br />
mustafaaoglu[at]gmail.com</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Free EBooks On Java, JavaEE and Open Source Technologies]]></title>
<link>http://katatunix.wordpress.com/2009/10/02/free-ebooks-on-java-javaee-and-open-source-technologies/</link>
<pubDate>Fri, 02 Oct 2009 04:41:57 +0000</pubDate>
<dc:creator>Katatunix</dc:creator>
<guid>http://katatunix.wordpress.com/2009/10/02/free-ebooks-on-java-javaee-and-open-source-technologies/</guid>
<description><![CDATA[Jakarta-Struts Live Java Web Services Tutorial Designing Web Services with the J2EE 1.4 Platform: JA]]></description>
<content:encoded><![CDATA[Jakarta-Struts Live Java Web Services Tutorial Designing Web Services with the J2EE 1.4 Platform: JA]]></content:encoded>
</item>
<item>
<title><![CDATA[Anatomy of an inbound jca connector]]></title>
<link>http://itdevworld.wordpress.com/2009/10/01/anatomy-of-an-inbound-jca-connector/</link>
<pubDate>Thu, 01 Oct 2009 21:39:24 +0000</pubDate>
<dc:creator>rafaelri</dc:creator>
<guid>http://itdevworld.wordpress.com/2009/10/01/anatomy-of-an-inbound-jca-connector/</guid>
<description><![CDATA[Continuing with the posts about JCA lets now have a look on the specifics of an Inbound JCA connecto]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Continuing with the posts about JCA lets now have a look on the specifics of an Inbound JCA connector. As already mentioned in a <a href="http://itdevworld.wordpress.com/2008/12/24/inbound-jca-connectors-introduction/">previous post</a> the term inbound is related to the flow of the call on your application.<br />
The <a href="http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/ResourceAdapter.html#endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory,%20javax.resource.spi.ActivationSpec)">endpointActivation</a> method plays a key role in an Inbound adapter. This is the method that is triggered by the container on each of the Activation Specs you have configured on your Application Server instance. This is also the point where you start your monitoring thread (FooMonitor in our example). Remember that this monitoring object has to have access to a number of key container classes such as <a href="http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/endpoint/MessageEndpointFactory.html">MessageEndpointFactory</a> implementation and also <a href="http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/work/WorkManager.html">WorkManager</a>.<br />
Apart from container objects you&#8217;ll certainly need to have the <a href="http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/ActivationSpec.html">ActivationSpec</a> object passed on the <a href="http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/ResourceAdapter.html#endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory,%20javax.resource.spi.ActivationSpec)">endpointActivation</a> method since it carries on the configuration provided for this activation spec (taking JMS as an example it&#8217;d be host, queue, username, &#8230;).<br />
Another point to remember is that you&#8217;ll need to have a reference to the monitor threads that were activated since on container shutdown it&#8217;ll invoke the <a href="http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/ResourceAdapter.html#endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory,%20javax.resource.spi.ActivationSpec)">endpointDeactivation</a> method and you&#8217;ll need to retrieve the related monitor thread and stop its execution.</p>
<h3>Inbound Connector classes</h3>
<p>Too much text lets now have a look on some diagrams:<br />
<a href="http://itdevworld.wordpress.com/files/2009/10/fooinboundadapterclassdiagram.jpg"><img class="aligncenter size-medium wp-image-220" title="FooInboundAdapterClassDiagram" src="http://itdevworld.wordpress.com/files/2009/10/fooinboundadapterclassdiagram.jpg?w=196" alt="FooInboundAdapterClassDiagram" width="196" height="300" /></a><br />
As you may have already guessed, FooMonitor is the thread that will poll for events and schedule their notifications through the WorkManager. You should never use the monitor thread for the notification since it&#8217;ll be blocked during notification denying the sending of other notifications. That&#8217;s the reason you should schedule an asynchronous notification using WorkManager.</p>
<h3>FooNotification implementation</h3>
<p>Skipping to the FooNotification class, its implementation will be something like the following code:</p>
<pre class="brush: java;">
public void run() {
	MessageEndpoint endpoint = null;
	try {
		endpoint =  messageEndpointFactory.createEndpoint(null);
		((FooListener) endpoint).onMessage(msg);
	} catch (Exception ex) {
		logger.error(&#34;Error on foo notification&#34; ,ex);
	} finally {
		if (endpoint != null)
			endpoint.release();
	}
}
</pre>
<p>As already mentioned, that&#8217;s the point where the MessageEndpointFactory is used. It provides us proxies for FooMDB classes. Remember to ALWAYS invoke release after using this proxy otherwise your container may run out of proxies since it&#8217;ll think you are still using them.<br />
Another aspect not really detailed is the msg parameter on the onMessage method: this one is dependent on your ResourceAdapter &#8211; You are the one responsible for defining it (unless you have chosen a regular API like JMS).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Java EE: despre interceptori]]></title>
<link>http://alexchiri.wordpress.com/2009/09/27/java-ee-despre-interceptori/</link>
<pubDate>Sun, 27 Sep 2009 10:34:53 +0000</pubDate>
<dc:creator>Alex Chiri</dc:creator>
<guid>http://alexchiri.wordpress.com/2009/09/27/java-ee-despre-interceptori/</guid>
<description><![CDATA[Citind cartea despre care v-am vorbit într-un articol anterior, am descoperit niște clase despre car]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Citind cartea despre care v-am vorbit într-un <a href="http://alexchiri.wordpress.com/2009/09/22/recomandari-javaee/" target="_blank">articol anterior</a>, am descoperit niște clase despre care nu mai auzisem până acum: interceptorii.</p>
<p>Prezentarea lor începe cu o scurtă introducere despre <a href="http://alexchiri.wordpress.com/2009/09/22/recomandari-javaee/" target="_blank">AOP</a>, noțiune nouă pentru mine. După cum am înțeles, AOP înseamnă să “decorezi” logică refolosibilă, în general, cu diferite funcționalități, fără aduce modificări asupra logicii menționate. De exemplu, AOP ar putea fi transformarea ușoară a unui Session Bean într-un web service sau într-un RESTful service.</p>
<p>În Java EE “aspectele” sunt numite <a href="http://java.sun.com/mailers/techtips/enterprise/2006/TechTips_Oct06_static.html#2" target="_blank">interceptori</a>. Un interceptor este o clasă cu o metodă adnotată și are controlul complet asupra execuției unei metode. Un interceptor este “atașat” unei clase cu ajutorul adnotării @Interceptors({interceptori}). Între acolade este o listă de clase de interceptori.</p>
<p>Iata un exemplu scurt de interceptor:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:&#39;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> InterceptorDeTest {</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>     @AroundInvoke</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>     <span style="color:#0000ff;">public</span> Object interceptM(InvocationContext ic) {</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span>         <span style="color:#008000;">//fă ceva</span></pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span>         <span style="color:#0000ff;">return</span> ic.proceed();</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>     }</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>Și o clasă care are atașat un interceptor:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:&#39;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> @Stateless</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> @Interceptors({InterceptorDeTest.<span style="color:#0000ff;">class</span>})</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> ClasaDeTest{</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>     <span style="color:#0000ff;">public</span> String helloWorld() {</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>         <span style="color:#0000ff;">return</span> <span style="color:#006080;">&#34;HelloWorld!&#34;</span>;</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span>     }</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>În momentul în care este apelată metoda helloWorld firul execuției va trece mai întâi prin interceptor. Acesta execută prelucrările sale și apelează metoda proceed() care are ca efect trecerea la executarea codului următorului interceptor din listă, dacă există, sau a metodei interceptate (în cazul nostru, metoda helloWorld()).</p>
<p>Interceptorii pot fi folosiți pentru diferite inițializări sau validări înainte sau după execuția unei metode. În cartea lui <a href="http://www.adam-bien.com/roller/abien/" target="_blank">Adam Bien</a> e și un exemplu cu interceptori în care se pot redenumi firele de execuție a unei aplicații în funcție de metoda pe care o execută, pentru o mai bună observare într-un profiler sau într-un dump, scăpând astfel de numele random și lipsite de înțeles date firelor de execuție.</p>
<p>PS: Un articol general <a href="http://www.adam-bien.com/roller/abien/entry/interceptors_ejb_3_for_absolute" target="_blank">despre utilizarea interceptorilor</a> și cel cu <a href="http://www.adam-bien.com/roller/abien/entry/server_independent_thread_tracking_utility" target="_blank">redenumirea thread-urilor</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Maven dependencies for a basic JSF project]]></title>
<link>http://hardikmehta.wordpress.com/2009/09/12/maven-dependencies-for-a-basic-jsf-project/</link>
<pubDate>Sat, 12 Sep 2009 07:52:02 +0000</pubDate>
<dc:creator>hardikmehta</dc:creator>
<guid>http://hardikmehta.wordpress.com/2009/09/12/maven-dependencies-for-a-basic-jsf-project/</guid>
<description><![CDATA[With some search and experiments, I figured out the following maven dependencies for a basic JSF pro]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">With some search and experiments, I figured out the following maven dependencies for a basic JSF project. These dependencies also allow autocompletion of JSF tags in the IDEs like eclipse and intellij idea. I post this for my own reference and may be someone searching for it.</p>
<p style="text-align:justify;">
<pre class="brush: xml;">
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.hardik.jsfinaction&lt;/groupId&gt;
  &lt;artifactId&gt;HelloJsf&lt;/artifactId&gt;
&lt;packaging&gt;war&lt;/packaging&gt;
  &lt;version&gt;1.0&lt;/version&gt;
  &lt;name&gt;HelloJsf Maven Webapp&lt;/name&gt;
  &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;junit&lt;/groupId&gt;
      &lt;artifactId&gt;junit&lt;/artifactId&gt;
      &lt;version&gt;4.0&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;jstl&lt;/groupId&gt;
        &lt;artifactId&gt;jstl&lt;/artifactId&gt;
        &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.faces&lt;/groupId&gt;
        &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
        &lt;version&gt;1.2_02&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.faces&lt;/groupId&gt;
        &lt;artifactId&gt;jsf-impl&lt;/artifactId&gt;
        &lt;version&gt;1.2-b19&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;taglibs&lt;/groupId&gt;
        &lt;artifactId&gt;standard&lt;/artifactId&gt;
        &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.el&lt;/groupId&gt;
        &lt;artifactId&gt;el-api&lt;/artifactId&gt;
        &lt;version&gt;1.0&lt;/version&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
    &lt;finalName&gt;HelloJsf&lt;/finalName&gt;
&lt;plugins&gt;
&lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
                &lt;source&gt;1.6&lt;/source&gt;
                &lt;target&gt;1.6&lt;/target&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
&lt;plugin&gt;
            &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
            &lt;artifactId&gt;tomcat-maven-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
                &lt;server&gt;tomcat&lt;/server&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/build&gt;
&lt;/project&gt;
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Disabling Seam Deployer]]></title>
<link>http://itdevworld.wordpress.com/2009/09/09/disabling-seam-deployer/</link>
<pubDate>Wed, 09 Sep 2009 21:52:34 +0000</pubDate>
<dc:creator>rafaelri</dc:creator>
<guid>http://itdevworld.wordpress.com/2009/09/09/disabling-seam-deployer/</guid>
<description><![CDATA[This post is only an update to the previous post. Recently I found an even more elegant solution in ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This post is only an update to the <a href="http://itdevworld.wordpress.com/2009/09/06/seam-on-jboss-5-x-without-seam-deployer/">previous post</a>. Recently I found an even more elegant solution in order to disable seam.deployer. Instead of removing the package from JBoss AS deployers folder we can provide a jboss-scanning.xml file which as documented on <a href="http://www.jboss.org/community/wiki/JBoss5custommetadatafiles">JBoss Wiki</a> is able to remove certain files from scanning process.<br />
So, a better (and also less instrusive) workaround is to provide under war/WEB-INF/classes a jboss-scanning.xml file with the following contents:</p>
<pre class="brush: xml;">
&lt;scanning xmlns=&quot;urn:jboss:scanning:1.0&quot;&gt;
  &lt;path name=&quot;servlet-1.0.war/WEB-INF/classes&quot;&gt;
    &lt;exclude name=&quot;seam.properties&quot;/&gt;
  &lt;/path&gt;
&lt;/scanning&gt;
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Globalcode's Casual Class: JAVAEE 6]]></title>
<link>http://jcranky.wordpress.com/2009/09/06/globalcodes-casual-class-javaee-6/</link>
<pubDate>Sun, 06 Sep 2009 22:52:51 +0000</pubDate>
<dc:creator>Paulo Renato</dc:creator>
<guid>http://jcranky.wordpress.com/2009/09/06/globalcodes-casual-class-javaee-6/</guid>
<description><![CDATA[This is a little late, but anyway&#8230; Two weeks ago I attend one more of the Globalcode&#8217;s C]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is a little late, but anyway&#8230;</p>
<p>Two weeks ago I attend one more of the <a title="Globalcode" href="http://www.globalcode.com.br" target="_blank">Globalcode</a>&#8217;s <a title="Casual Class" href="http://www.casualclass.com.br/" target="_blank">Casual Class</a>&#8216;es. This one was about JAVAEE 6 and the main technologies that will be part of it when it comes out &#8211; apparently very soon.</p>
<p>I don&#8217;t have many pictures because I&#8217;m very smart and let my mobile&#8217;s battery run out&#8230; but let&#8217;s go through a few of the ones I got and talk about the contents of this event.</p>
<div id="attachment_371" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-371" title="Preparations" src="http://jcranky.wordpress.com/files/2009/09/28082009650.jpg?w=300" alt="Preparations" width="300" height="225" /><p class="wp-caption-text">Preparations</p></div>
<p>The event was split in a few individual topics, among them: JSF 2.0, JAX-RS, EJB 3.1 and JPA 2.0. Each one had different presenters, all of them great speakers! =)</p>
<div id="attachment_372" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-372" title="JSF 2.0" src="http://jcranky.wordpress.com/files/2009/09/28082009651.jpg?w=300" alt="JSF 2.0" width="300" height="225" /><p class="wp-caption-text">JSF 2.0</p></div>
<p>JSF 2.0 was presented by Yara Senger and Alberto &#8220;Spock&#8221; Lemos. They mentioned some changes that are coming to JSF, and used a small demo application, SCRUM Toys, to explain how they got involved into actually using the new features.</p>
<div id="attachment_373" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-373" title="JPA 2.0" src="http://jcranky.wordpress.com/files/2009/09/28082009654.jpg?w=300" alt="JPA 2.0" width="300" height="225" /><p class="wp-caption-text">JPA 2.0</p></div>
<p>Melissa Vilela spoke about the new features coming in JPA 2.0. There are a lot of nice things. Among them, the new Criteria API <strong>is not</strong>. To be brutally honest, that thing is ridiculously complex. It is clearly lacking some usage of the <a title="KISS Principle" href="http://en.wikipedia.org/wiki/Keep_it_simple_stupid" target="_blank">KISS</a> principle.</p>
<p>Then there was a presentation about REST, more specifically JAX-RS. (no pictures, sorry). Nothing really new here, just the fact that the API, which was already done and available, is going to be part of JAVAEE 6.</p>
<div id="attachment_374" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-374" title="EJB 3.1" src="http://jcranky.wordpress.com/files/2009/09/28082009655.jpg?w=300" alt="EJB 3.1" width="300" height="225" /><p class="wp-caption-text">EJB 3.1</p></div>
<p>The last topic was EJB 3.1. Like with EJB 3.0, things are moving towards a simpler development model, and this is what was presented. Nice, simplifications to EJBs are always welcome! =)</p>
<p>After that, Pizza! uhu! My only complain this time is that the technical sessions took longer than usual, and I was really hungry in the end! But it was well worth the time =)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Java Terminologies]]></title>
<link>http://tecnoesis.wordpress.com/2009/09/06/java-terminologies/</link>
<pubDate>Sun, 06 Sep 2009 16:47:00 +0000</pubDate>
<dc:creator>Rajani Ramsagar</dc:creator>
<guid>http://tecnoesis.wordpress.com/2009/09/06/java-terminologies/</guid>
<description><![CDATA[  Few terminologies to be familiar with, before getting started with Java:   Java Platform: The Java]]></description>
<content:encoded><![CDATA[  Few terminologies to be familiar with, before getting started with Java:   Java Platform: The Java]]></content:encoded>
</item>
<item>
<title><![CDATA[Seam on JBoss 5.x without Seam Deployer]]></title>
<link>http://itdevworld.wordpress.com/2009/09/06/seam-on-jboss-5-x-without-seam-deployer/</link>
<pubDate>Sun, 06 Sep 2009 02:48:48 +0000</pubDate>
<dc:creator>rafaelri</dc:creator>
<guid>http://itdevworld.wordpress.com/2009/09/06/seam-on-jboss-5-x-without-seam-deployer/</guid>
<description><![CDATA[Recently I started a proof of concept for a new project that will run on JBoss 5.1. The reason for p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently I started a proof of concept for a new project that will run on JBoss 5.1. The reason for picking JBoss 5.1 instead of the mature 4.2 series was due to its full support for JavaEE 1.5 (4.2 supports only EJB3 spec, no servlet injection, etc) as well as its longer support (4.2 will start an EOL cycle soon).<br />
As soon as I decided to use JBoss 5.x the classloading nightmare started. First of all, Seam uses a kinda strange hack for detecting its components (its scanner class makes use of java.io.File which in turn does not work on newer VFS system released on JBoss 5.x).<br />
Recommendation on Seam forums is to include no Seam file at you EAR/WAR and let Seam deployer do the trick but thiss comes with much obvious limitations:</p>
<ol>
<li>You&#8217;ll need a separate packaging for your application on JBoss (this is probably the worst limitation)</li>
<li>Seam (and its dependencies) upgrades will involve patching Application Server files</li>
</ol>
<p>But although recommended you can still deploy a regular Seam application without Seam Deployer. I&#8217;ll try to provide a step-by-step guide on how to circumvent this limitation:</p>
<p><strong>First step:</strong> remove <strong>seam.deployer</strong> from <strong>$JBOSS_HOME/server/default/deployers</strong> (an alternative and less intrusive solution that I just found after writting this post is described <a href="http://itdevworld.wordpress.com/2009/09/09/disabling-seam-deployer/">over here</a>)<br />
<strong>Second step:</strong> add all Seam dependencies (jboss-seam-ui.jar, jboss-seam.jar, etc) inside EAR (I sincerely suggest under a lib folder).<br />
<strong>Third step:</strong> place a jboss-app.xml with the following content on you EAR/META-INF folder</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;!DOCTYPE jboss-app
    PUBLIC &quot;-//JBoss//DTD J2EE Application 4.2//EN&quot;
    &quot;http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd&quot;&gt;
&lt;jboss-app&gt;
      &lt;loader-repository&gt;
            myapp.ear=MyAppEar
      &lt;/loader-repository&gt;
&lt;/jboss-app&gt;
</pre>
<p><strong>Fourth step:</strong> place a jboss-classloading.xml also on EAR/META-INF folder with the following contents:</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;classloading xmlns=&quot;urn:jboss:classloading:1.0&quot;
              name=&quot;myapp.ear&quot;
              domain=&quot;MyAppEar&quot;&gt;
&lt;/classloading&gt;
</pre>
<p><strong>Fifth step:</strong> place <strong>jboss-seam-int-jbossas.jar</strong> from <strong>seam.deployer/lib-int</strong> into your <strong>EAR/lib</strong> folder. (this jar contains org.jboss.seam.integration.jbossas.vfs.VFSScanner)<br />
<strong>Sixth step:</strong> place another jboss-classloading.xml on WAR/WEB-INF folder with the following contents:</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;classloading xmlns=&quot;urn:jboss:classloading:1.0&quot;
              name=&quot;mywebapp.war&quot;
              domain=&quot;MyWebAppWar&quot;&gt;
&lt;/classloading&gt;
</pre>
<p><strong>Seventh step:</strong> Place a jboss-web.xml under WAR/WEB-INF with the following contents:</p>
<pre class="brush: xml;">
&lt;jboss-web&gt;
	&lt;class-loading java2ClassLoadingCompliance=&quot;false&quot;&gt;
		&lt;loader-repository&gt;
			mywebapp.war:loader=MyWebApp
			&lt;loader-repository-config&gt;java2ParentDelegation=false
			&lt;/loader-repository-config&gt;
		&lt;/loader-repository&gt;
	&lt;/class-loading&gt;
&lt;/jboss-web&gt;
</pre>
<p><strong>Eighth step:</strong> place a seam-deployment.properties anywhere in the classpath (anywhere but before seam jar) with the following contents:</p>
<pre class="brush: cpp;">
org.jboss.seam.deployment.scanners=org.jboss.seam.integration.jbossas.vfs.VFSScanner
</pre>
<p><strong>Ninth step:</strong> Add all Seam dependencies on <strong>MANIFEST.MF</strong> file under <strong>WAR/META-INF</strong> and remember to include <strong>jboss-seam-int-jbossas.jar</strong> on the classpath.</p>
<p>That&#8217;s all you need to avoid having a separate packaging for a Seam enterprise application running on JBoss 5.x (sincerely I guess that you risk having to remove the seam-deployment.properties only). This also makes it easier to replace the JSF implementation on your application. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Presentación de Spring 3.0]]></title>
<link>http://hnzekto.wordpress.com/2009/09/01/presentacion-de-spring-3-0/</link>
<pubDate>Tue, 01 Sep 2009 06:06:54 +0000</pubDate>
<dc:creator>hnzekto</dc:creator>
<guid>http://hnzekto.wordpress.com/2009/09/01/presentacion-de-spring-3-0/</guid>
<description><![CDATA[Presentación en la Jazoon 2009 de las nuevas características incluídas en Spring 3.0. Vía SoftDevTub]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://jazoon.com/en/conference/presentationdetails.html?type=sid&#38;detail=7440">Presentación en la Jazoon 2009</a> de las <a href='http://www.devoxx.com:5080/share/parleysshare2.swf?pageId=348'>nuevas características incluídas en Spring 3.0</a>.</p>
<p>Vía <a href="http://www.softdevtube.com/2009/08/28/spring-3-0-the-next-generation/">SoftDevTube</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Single-Sign-On (SSO) in Java Platform using Active Directory]]></title>
<link>http://webmoli.com/2009/08/29/single-sign-on-in-java-platform/</link>
<pubDate>Sat, 29 Aug 2009 17:08:57 +0000</pubDate>
<dc:creator>Venkat</dc:creator>
<guid>http://webmoli.com/2009/08/29/single-sign-on-in-java-platform/</guid>
<description><![CDATA[Sorry guys it been long time writing in my blog. Nowadays single-sign-on became a hot selling featur]]></description>
<content:encoded><![CDATA[Sorry guys it been long time writing in my blog. Nowadays single-sign-on became a hot selling featur]]></content:encoded>
</item>
<item>
<title><![CDATA[Maven EAR applications: new H2 version required]]></title>
<link>http://blog.flexive.org/2009/08/14/maven-ear-applications-new-h2-version-required/</link>
<pubDate>Fri, 14 Aug 2009 13:18:53 +0000</pubDate>
<dc:creator>Daniel Lichtenberger</dc:creator>
<guid>http://blog.flexive.org/2009/08/14/maven-ear-applications-new-h2-version-required/</guid>
<description><![CDATA[The 0.6 version of our EAR archetype includes a hardcoded version number for the H2 database engine ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The 0.6 version of our <a href="http://www.flexive.org/docs/website/writing_applications_maven.html#writing_applications_maven_archetypes_ear">EAR archetype</a> includes a hardcoded version number for the H2 database engine artifact. Recent changes in the [fleXive] trunk (i.e. 3.1-SNAPSHOT) require a newer version of H2, otherwise the initialization of the database will fail with a &#8220;Syntax error in SQL statement&#8221;.</p>
<p>The fix for existing projects is to fix the version number in your main module&#8217;s <code>pom.xml</code>: increase the <code>h2.version</code> property from <code>1.1.106</code> to <code>1.1.117</code>.</p>
<p>To avoid this issue in the future, I moved the H2 dependency to the <code>flexive-h2</code> artifact. The current snapshot version of the archetype (1.0-SNAPSHOT) therefore no longer includes a dependency on <code>com.h2database.h2</code>, and potential changes in the required H2 version number (always a possibility since H2 development is very active) won&#8217;t affect existing projects.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Clasa HashMap]]></title>
<link>http://ucc10.wordpress.com/2009/07/29/clasa-hashmap/</link>
<pubDate>Tue, 28 Jul 2009 22:43:19 +0000</pubDate>
<dc:creator>ucc10</dc:creator>
<guid>http://ucc10.wordpress.com/2009/07/29/clasa-hashmap/</guid>
<description><![CDATA[Implementarea ei este bazata pe interfata Map, astfel incat permite valori de null si chei nule. Cla]]></description>
<content:encoded><![CDATA[Implementarea ei este bazata pe interfata Map, astfel incat permite valori de null si chei nule. Cla]]></content:encoded>
</item>
<item>
<title><![CDATA[Colectii in Java]]></title>
<link>http://ucc10.wordpress.com/2009/07/27/colectii-in-java/</link>
<pubDate>Mon, 27 Jul 2009 12:17:24 +0000</pubDate>
<dc:creator>ucc10</dc:creator>
<guid>http://ucc10.wordpress.com/2009/07/27/colectii-in-java/</guid>
<description><![CDATA[Clasele colectii sunt cele mai puternice instrumente pentru programare. In Java incepand cu versiune]]></description>
<content:encoded><![CDATA[Clasele colectii sunt cele mai puternice instrumente pentru programare. In Java incepand cu versiune]]></content:encoded>
</item>

</channel>
</rss>
