<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Stripes and EJB3</title>
	<atom:link href="http://www.samaxes.com/2008/01/21/stripes-and-ejb3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/</link>
	<description>on technology</description>
	<pubDate>Tue, 06 Jan 2009 23:26:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Samuel Santos</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-66</link>
		<dc:creator>Samuel Santos</dc:creator>
		<pubDate>Thu, 26 Jun 2008 02:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-66</guid>
		<description>Hi Hugo,

Can you please send me the complete stack trace by mail?</description>
		<content:encoded><![CDATA[<p>Hi Hugo,</p>
<p>Can you please send me the complete stack trace by mail?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-65</link>
		<dc:creator>Hugo</dc:creator>
		<pubDate>Wed, 25 Jun 2008 17:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-65</guid>
		<description>Hi Samuel,

Thanks for your code, but i'm having a problem.
The EJBInterceptor that I include in my package and that is deployed inside WEB-INF/classes of a WAR is crushing during deploy in JBoss 4.2.2 with Java 5. I've tried to compile with Java 6 and I get the same error. Could you help me?

2008-06-25 17:55:46,722 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/adssimplex]] Exception starting filter StripesFilter
java.lang.ClassFormatError: Invalid constant pool index 63 in class file pt/ptinovacao/adssimplex/util/EJBInterceptor
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1814)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
	at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)</description>
		<content:encoded><![CDATA[<p>Hi Samuel,</p>
<p>Thanks for your code, but i&#8217;m having a problem.<br />
The EJBInterceptor that I include in my package and that is deployed inside WEB-INF/classes of a WAR is crushing during deploy in JBoss 4.2.2 with Java 5. I&#8217;ve tried to compile with Java 6 and I get the same error. Could you help me?</p>
<p>2008-06-25 17:55:46,722 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/adssimplex]] Exception starting filter StripesFilter<br />
java.lang.ClassFormatError: Invalid constant pool index 63 in class file pt/ptinovacao/adssimplex/util/EJBInterceptor<br />
	at java.lang.ClassLoader.defineClass1(Native Method)<br />
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)<br />
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)<br />
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1814)<br />
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)<br />
	at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139)<br />
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)<br />
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-64</link>
		<dc:creator>Samuel</dc:creator>
		<pubDate>Tue, 25 Mar 2008 21:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-64</guid>
		<description>Hi Krzysztof,

Thanks for the info.
JBoss 5.x is yet too buggy.

Cheers</description>
		<content:encoded><![CDATA[<p>Hi Krzysztof,</p>
<p>Thanks for the info.<br />
JBoss 5.x is yet too buggy.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krzysztof</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-63</link>
		<dc:creator>Krzysztof</dc:creator>
		<pubDate>Mon, 24 Mar 2008 21:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-63</guid>
		<description>Hi Samuel,

I've tried to run it again on jboss-4.2.2.GA with @LocalBinding annotation.... and it worked!

I've realized that it doesn't work on the latest jboss-5.0.0.Beta4 even with @LocalBinding feature. You have to pass full jndi name: ear-app-name/YourBeanName/local (or remote) into @EJBBean.

Regards,
Krzysztof</description>
		<content:encoded><![CDATA[<p>Hi Samuel,</p>
<p>I&#8217;ve tried to run it again on jboss-4.2.2.GA with @LocalBinding annotation&#8230;. and it worked!</p>
<p>I&#8217;ve realized that it doesn&#8217;t work on the latest jboss-5.0.0.Beta4 even with @LocalBinding feature. You have to pass full jndi name: ear-app-name/YourBeanName/local (or remote) into @EJBBean.</p>
<p>Regards,<br />
Krzysztof</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-62</link>
		<dc:creator>Samuel</dc:creator>
		<pubDate>Sat, 22 Mar 2008 19:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-62</guid>
		<description>&lt;code&gt;org.jboss.annotation.ejb.LocalBinding&lt;/code&gt; class can be found in &lt;em&gt;jboss-annotations-ejb3.jar&lt;/em&gt; that is in the &lt;em&gt;\jboss-4.2.2.GA\server\default\deploy\ejb3.deployer&lt;/em&gt; folder.

If you don't use this annotation, JBoss will define the JNDI bindings for you.
You can look at your &lt;em&gt;server.log&lt;/em&gt; to check the JNDI bindings that were defined.</description>
		<content:encoded><![CDATA[<p><code>org.jboss.annotation.ejb.LocalBinding</code> class can be found in <em>jboss-annotations-ejb3.jar</em> that is in the <em>\jboss-4.2.2.GA\server\default\deploy\ejb3.deployer</em> folder.</p>
<p>If you don&#8217;t use this annotation, JBoss will define the JNDI bindings for you.<br />
You can look at your <em>server.log</em> to check the JNDI bindings that were defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krzysztof</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-61</link>
		<dc:creator>Krzysztof</dc:creator>
		<pubDate>Sat, 22 Mar 2008 14:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-61</guid>
		<description>Hello All,

It doesn't work for me either:( I've tried EJB Interceptor running on the jboss-4.2.2.GA and even on jboss-5.0.0.Beta4 (the latest one). I've got EJB (ear) application with web module and jar module. Same story as kabel described... can’t find this EJBBean.
I'm sure that my beans are loaded by the Jboss server but I'm not under what names they are available.

Samuel, could you tell me which exact version of the Jboss AS you were using.
Did you add any additinal jar's to the lib?
In which jboss jar the @LocalBinding annotation is provided? I couldn't find it.

Thanks in advance!

I wish you Happy Easter.

Regards,
Krzysztof</description>
		<content:encoded><![CDATA[<p>Hello All,</p>
<p>It doesn&#8217;t work for me either:( I&#8217;ve tried EJB Interceptor running on the jboss-4.2.2.GA and even on jboss-5.0.0.Beta4 (the latest one). I&#8217;ve got EJB (ear) application with web module and jar module. Same story as kabel described&#8230; can’t find this EJBBean.<br />
I&#8217;m sure that my beans are loaded by the Jboss server but I&#8217;m not under what names they are available.</p>
<p>Samuel, could you tell me which exact version of the Jboss AS you were using.<br />
Did you add any additinal jar&#8217;s to the lib?<br />
In which jboss jar the @LocalBinding annotation is provided? I couldn&#8217;t find it.</p>
<p>Thanks in advance!</p>
<p>I wish you Happy Easter.</p>
<p>Regards,<br />
Krzysztof</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-60</link>
		<dc:creator>Samuel</dc:creator>
		<pubDate>Wed, 13 Feb 2008 00:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-60</guid>
		<description>The only server I tested with was JBoss AS.

Sorry to ask, but have you confirmed that your bean is binded with the JNDI name "PersonFacade"?

I usually rely on the annotation @LocalBinding for the JNDI binding. e.g.
@LocalBinding(jndiBinding = "PersonFacade")
public class PersonFacade { ... }</description>
		<content:encoded><![CDATA[<p>The only server I tested with was JBoss AS.</p>
<p>Sorry to ask, but have you confirmed that your bean is binded with the JNDI name &#8220;PersonFacade&#8221;?</p>
<p>I usually rely on the annotation @LocalBinding for the JNDI binding. e.g.<br />
@LocalBinding(jndiBinding = &#8220;PersonFacade&#8221;)<br />
public class PersonFacade { &#8230; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kabel</title>
		<link>http://www.samaxes.com/2008/01/21/stripes-and-ejb3/comment-page-1/#comment-59</link>
		<dc:creator>kabel</dc:creator>
		<pubDate>Tue, 12 Feb 2008 23:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://samaxes.com/2008/01/21/stripes-and-ejb3/#comment-59</guid>
		<description>Hello,
I tried to use the EJB Interceptor according to your article, but without success :( I've got an EJB modul with some entities and SessionBeans for these entities. Next I've got web application which uses stripes. But always I use annotation in my ActionBean, e.g.:

@EJBBean("PersonFacade")
private PersonFacade personFacade;

I'm still getting an exception that it can't find this EJBBean.
Does it depend on any application server?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I tried to use the EJB Interceptor according to your article, but without success <img src='http://www.samaxes.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> I&#8217;ve got an EJB modul with some entities and SessionBeans for these entities. Next I&#8217;ve got web application which uses stripes. But always I use annotation in my ActionBean, e.g.:</p>
<p>@EJBBean(&#8221;PersonFacade&#8221;)<br />
private PersonFacade personFacade;</p>
<p>I&#8217;m still getting an exception that it can&#8217;t find this EJBBean.<br />
Does it depend on any application server?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
