[jboss-user] [EJB 3.0] - Stateless session bean basics
asack
do-not-reply at jboss.com
Thu Nov 16 15:47:10 EST 2006
If I have two stateless session beans, A and B, in one jar deployed within an EAR (only module of the EAR). I have the local interfaces of A and B part of the JAR and in the same package as the stateless session beans.
When I try to inject B into A via @EJB3, it seems that the classloader can't find the interface file and barfs (then during runtime it tries to remote). I'm using JBoss 4.0.4.GA EJB3.
What's going on here? Does the local interface have to be outside the package? Why?
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986670#3986670
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986670
More information about the jboss-user
mailing list