[jboss-user] [Beginners Corner] - Re: Problem with jndi bindings: my SLSB's not bound

jaikiran do-not-reply at jboss.com
Sun Nov 12 01:43:54 EST 2006


If you have not specified any JNDI name then the bean by default gets bound to appName/BeanName/remote for remote interface or appName/BeanName/local. So assuming your application name is myApp and you are looking up a remote interface, the code will look like:

  | Context ctx = new InitialContext();
  | TuoteHallintaRemote remote = (TuoteHallintaRemote) ctx.lookup("myApp/TuoteHallintaBean/remote");

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

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



More information about the jboss-user mailing list