Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
John Wenn
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic