File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB Exception (Accesing a remote enterprise bean within a simple Java class) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "EJB Exception (Accesing a remote enterprise bean within a simple Java class)" Watch "EJB Exception (Accesing a remote enterprise bean within a simple Java class)" New topic
Author

EJB Exception (Accesing a remote enterprise bean within a simple Java class)

John Wenn
Ranch Hand

Joined: Mar 03, 2008
Posts: 31
Here's my Java class



When I run this I'm getting an exception



All the other enterprise bean classes are written according to the EJB 3.0 standard. Your valuable contribution is expected.
I'm using Glassfish v3 + NetBeans 6.1
Sib Pete
Greenhorn

Joined: Apr 27, 2009
Posts: 26
How have you mapped the session bean, implementing the NewSessionRemote interface, jndi name, 'endpoint.NewSessionRemote' ? Are you using annotations or are you using the ejb-jar or web.xml to map to jndi?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: EJB Exception (Accesing a remote enterprise bean within a simple Java class)
 
Similar Threads
Unable to access Local SLSB from app client
Local Session Bean Call Exception in App Server
.NameNotFoundException:
EJB, Realms and Remote Clients
SUN minor code: 232 completed: No