Extracted from last version of EJB3 spec (chapter 3.6.1):
anonymous wrote : For example, an EJB 3.0 client, 
com.acme.example.MySessionBean, might obtain a reference
  | to a bean?s home interface as follows:
  | @EJB CartHome cartHome;
  | This home interface could be looked up in JNDI using the EJBContext lookup 
method as shown in the
  | following code segment:
  | @Resource SessionContext ctx;
  | ...
  | CartHome cartHome =
  | (CartHome)ctx.lookup(?com.acme.example.MySessionBean/cartHome?);

I can understand why the client class name must be set in the jndi name..... 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968686
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to