Hi,
I have written a EJBClient file which has main method. I created remote,home, ejb and then this EJBClient. I have deployed it in the server also. Now i need to execute this EJBClient file. Note that i dont want any web modules. So i am trying to execute like normal java file. I am getting a exception NoInitialContextException. How to solve this problem. I am new to EJB and so please help me out to solve this problem.
Server used is weblogic 8.1
Saravanan.
-
EJBClient class file (1 messages)
- Posted by: Saravanan Thoppae
- Posted on: September 18 2004 06:26 EDT
Threaded Messages (1)
- EJBClient class file by Paul Ste. Marie on September 19 2004 19:07 EDT
-
EJBClient class file[ Go to top ]
- Posted by: Paul Ste. Marie
- Posted on: September 19 2004 19:07 EDT
- in response to Saravanan Thoppae
You need to provide a URL for the JNDI provider when creating the initial context for looking up the home interface. Since you aren't running inside the container, there is no default JNDI provider.