[jboss-dev-forums] [Design of POJO Server] - Re: EJB/War deployer ordering problem

wolfc do-not-reply at jboss.com
Thu Feb 14 07:16:27 EST 2008


"EE.5.2.1" wrote : The container implements the application component's environment, and provides it to the application component instance as a JNDI naming context.
How the naming context is used by the different JavaEE roles is defined in EE.5.3.
An application component is allowed to:
1. use annotations to get an EJB
2. do a JNDI lookup in the naming context
3. use the descriptor to inject the EJB

So by omission it's not allowed to do a global JNDI lookup.

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

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



More information about the jboss-dev-forums mailing list