File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes How simple could that be? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How simple could that be?" Watch "How simple could that be?" New topic

How simple could that be?

Ashish Malik
Ranch Hand

Joined: Jul 11, 2010
Posts: 50
Debuting at EJB3, i wrote a simple application, deployed it on Glassfish server and i am now getting this frustrating error since around 48 hours. Can anyone tell me where i am missing?
Here's my code.

Remote Interface:


Servlet that calls on bean:


Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804

Firstly, you did not attach the exception.
Secondly, please try @EJB without mappedName.

I agree. Here's the link:
subject: How simple could that be?
Similar Threads
How the @EJB injection works in servlets
GET Method Working But POST is not
InitialContext Lookup returns the same Stateful Session Bean Reference everytime ...
Accessing a Remote EJB in Glassfish from Tomcat
how to call JSP from Servlet