[jboss-user] [EJB 3.0] - Confused abotu how to get context...

EricChile do-not-reply at jboss.com
Wed Nov 22 11:47:32 EST 2006


I am a little confused on how to lookup the context of an EJB. In using the Oracle tutorals they seem to suggest using 

@Stateless(name = "myName") 

and then looking it up like context.lookup("myName");

This seems to work fine in OC4J but not in JBoss

What is the correct way to lookup a EJB?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987935#3987935

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987935



More information about the jboss-user mailing list