• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

how 2 call ejb file using servlet

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how 2 call ejb file& servlet ie servlet& ejb communication
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servlet would need to use the JNDI to get a reference to the EJB (let's call it EJB A) in the same way that another EJB (let's call that EJB B) would need to use the JNDI to get a reference to EJB A.
If you have WebLogic installed you should have lots of examples of a client connecting to an EJB in the subdirectories of ${WEBLOGIC_INSTALL_DIRECTORY}/examples/ejb
HTH
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!