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
+@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&...]