This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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?
 
Don't get me started about those stupid light bulbs.
 
subject: EJB Exception (Accesing a remote enterprise bean within a simple Java class)