[jboss-user] [EJB 3.0] - Re: EJB Local Home in EJB 3.0
ALRubinger
do-not-reply at jboss.com
Thu Feb 14 05:17:34 EST 2008
Yes, the EJB 3.0 specification supports 2.1 Views for interop / backwards-compat, and JBoss EJB3 implements this.
Sounds like you're just not finding the Home in JNDI. Use the JNDI Viewer in the JMX Console:
http://jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole
If you don't see an object implementing LocalHome defined, we might have to take a look at how you're declaring your 2.1 View. Should just be:
@Stateless
| @LocalHome(MyLocalHome.class)
| public class MyBean implements MyLocalInterface{...}
public interface MyLocalHome extends EJBLocalHome{...}
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129351#4129351
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129351
More information about the jboss-user
mailing list