I just started reading EJB 3 and tried executing a simple Hello world example but ran into some problems. I am using Eclipse along with Weblogic server 10.
I created an EJB project and within it I created a stateless session bean with a remote interface.
The code for the interface is
The code for the bean is
The client code is as follows
I get the following exception
The session bean is getting deployed on the server without any issues and I am able to see it in the deployment list. I am unsure if there is a need for me to use the properties within the client and if thats a reason for the exception. Can anyone help me out in telling me what I am doing wrong . Also can anyone tell me if the format I am using in the lookup is correct.
Joined: Aug 23, 2008
also i forgot to mention that i included weblogic.jar in the build path and i am deploying the session bean directly onto the weblogic server through eclipse