JBoss Community

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

created by Wolf-Dieter Fink in JNDI and Naming - View the full discussion

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

Start a new discussion in JNDI and Naming at Community