Dear All ,
I am very new to EJB 3.0. And trying to call a remote statefull sesssion bean. Will u please give me the sample code to lookup the bean. And necessary jars that i need to put in my client code classpath.
I have tried all the things to look up the bean that have been posted on jboss forum . Always i am getting the exception as a "Name Not Found Exception ".
Even InitialContext ic ;
ic.list(ejb);
is giving the same exception. By using the above method i am trying to get the JNDI names bound in JNDI tree.
Please help me. I am using Jboss 4.2.0GA.
Thanks in advance.
Please post the code you are using to lookup the ejb.
Also, go into the jmx-console, the jboss:service=JNDIView mbean, and click on the list operation. Post the response.