aspose file tools
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
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply 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: 34
Try this:
http://biese.wordpress.com/2008/02/20/how-to-call-ejb3-from-jsp-servlet-and-stand-alone-application/
 
 
subject: JNDI code to communicate with EJB Object
 
Threads others viewed
Generating EJB Stub code (Client code for Remote and Home references)
Purpose of the Home Class
Doubt in bean lookup!
EJB look up question
Using SessionBeans from POJO within the ear...
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture