[jboss-user] [EJB 3.0] - @Stateless JNDI bindings

lpiccoli do-not-reply at jboss.com
Thu Sep 7 04:48:29 EDT 2006


hi all,

since migrating to 4.0.4 GA my stateless session beans are nolonger bound to the same JNDI name as before.

Previously i could do the following. I assume the default JNDI name was the interface class name.


  | //jb = (Job) ctx.lookup(Job.class.getName());
  | 

However this is no longer finding the sessionbean.


  | @Stateless
  | public class JobBean implements Job {
  | 


what exaclty has changed and what is required to bing the JNDI name?

many thanks



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

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



More information about the jboss-user mailing list