This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JNDI code to communicate with EJB Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI code to communicate with EJB Object" Watch "JNDI code to communicate with EJB Object" New topic
Author

JNDI code to communicate with EJB Object

Dennis Mennis
Greenhorn

Joined: Jun 09, 2011
Posts: 6
i have a ejb project which has a stateless bean and i have another dynamic web application project which has a servlet as i am useing eclipse.Now i have deployed the ejb project and i want my servlet to call a function from the ejb project->beanclass.java.bt i am facing JNDI problem.
What code do i have to give to find the actual path of the ejb object??so tht i can communicate from the servlet.
Matt Couto
Ranch Hand

Joined: Jul 10, 2009
Posts: 38
Try this:
http://biese.wordpress.com/2008/02/20/how-to-call-ejb3-from-jsp-servlet-and-stand-alone-application/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNDI code to communicate with EJB Object
 
It's not a secret anymore!