[jboss-user] [EJB 3.0] - Re: JNDI and Client Application

alexg79 do-not-reply at jboss.com
Tue Mar 6 10:31:52 EST 2007


First of all, when you ask for help, enclose your code with the "code" tag (use the buttons provided).
Next, package your session beans in a .jar file. The .ejb3 extension is deprecated.
Third, the correct JNDI path is //(remote|local).
Just because you packaged your beans in a directory named "beans" doesn't mean it has anything to do with JNDI bindings. Session beans are usually part of some application, and (afaik) the application name dictates the default binding for them.
You can find out if your beans were deployed correctly by checking the JNDI browser in the JMX console of JBoss.
There are plenty of examples regarding this -- try out some of them before asking for help here.

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

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



More information about the jboss-user mailing list