I am a newbie to
java technology.
i am creating java applications using visualage for java.
I have a
EJB created and tested in WTE of visualage for java(VAJ) is working fine.
I have a
servlet which is also developed in VAJ is also working fine.
When i am trying to call the EJB from the servlet, it does not show any error while creating the objects of the bean.
But when i am running it, it shows a Null pointer exception.
Both the EJB and servlet are in the same package.
Please help me in get rid of this problem by providing a solution to this.
If possible please provide me the exact syntax to call a EJB from servlet through a sample code which i can run on VAJ.