[jboss-user] [JNDI and Naming] - Re: JBoss 4.0.2 -> 5.1 problem with EJB3 lookup via jndi

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Nov 4 12:56:46 EDT 2010


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: JBoss 4.0.2 -> 5.1 problem with EJB3 lookup via jndi"

To view the discussion, visit: http://community.jboss.org/message/569700#569700

--------------------------------------------------------------
You are migrating from EJB2 to EJB3, yes? (witn JB4.0.2 there is no EJB3 deployer)

With EJB3 there is no necessity to use such lookups if you are local.
Add
+ at EJB PostManager myPostmanager;+
to your code and remove the lookup, the container will do the work for you ;-)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/569700#569700]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101104/f3e26977/attachment.html 


More information about the jboss-user mailing list