File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure 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
  • 0
  • 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
  • 0
  • 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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic