Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI code to communicate with EJB Object

 
Dennis Mennis
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic