Hello everyone
I am using
EJB 3.0, and weblogic 10.3.
I have created a Stateless session bean, and it implements two interfaces - StatelessLocal and StatelessRemote. I have annotated them with the @Stateless, @Local, @Remote for the above classes.
And then I tried to create a client class with this initialization:
Later in the main method:
When my compiler hits the line above, it gives me a NullPointerException.
Can you tell me where I've gone wrong?
And I have another question about declaring the @EJB part, do we always need to use static to declare the session bean?
Any response is greatly appreciated. Thanks!