Currently I'm getting a nullpointer exception on my servlet that uses an EJB.
Here is my servlet
Here is my EJB
Here's my application.xml
I have deployed both the war file and the ejb jar file into a single EAR file. Is there something more I need to do? Thank you.
Joined: May 10, 2010
In web.xml file add servlet-name, servlet-class and servlet mapping tags.
<servlet-class>com.test.servlet.HelloServlet</servlet-class> /* package name of your HelloServlet */