[jboss-user] [JNDI/Naming/Network] - Re: binding the TodoDao stateless session bean in jsfejb3

jaikiran do-not-reply at jboss.com
Wed Apr 16 02:32:18 EDT 2008


I personally haven't used jsfejb3 example. 
anonymous wrote : 
  |  return (TodoDaoInt) ctx.lookup("jsfejb3/TodoDao/local");
  | 
  | However none of the configuration files specity this binding in JNDI

Going by the pattern of the jndi-name (EARNAME/BEANNAME/local), it looks to be the default jndi-name that gets assigned by JBoss.

anonymous wrote : 
  | Does anyone know how to bind this name in the JNDI java:comp context. 

The java:comp is per component. Each component like web component or EJB component have their own java:comp/env namespace. Where does the client class (TodoBean.java) belong? Is it part of the web component?


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

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



More information about the jboss-user mailing list