This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "How simple could that be?" Watch "How simple could that be?" New topic
Author

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:


Bean:




Servlet that calls on bean:




Exeption:


Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

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


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How simple could that be?
 
Similar Threads
InitialContext Lookup returns the same Stateful Session Bean Reference everytime ...
Accessing a Remote EJB in Glassfish from Tomcat
GET Method Working But POST is not
How the @EJB injection works in servlets
how to call JSP from Servlet