• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Accessing session bean in a distributed environment

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I want to access a session bean distributed environment i.e. I have a EJB Component say Session bean deployed on one machine , a Web client say Servlet deployed on another machine which is using the deployed Session bean from first machine and running the Servlet from the third machine.
Is it possible ?
I am using Glassfish as the application server and Netbeans 6.1 as the IDE.

Thanks,
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes this is possible. On Machine A you can deploy the beans. On Machine B deploy the servlet and the servlet will do a JNDI lookup, passing the jndi properties to point to the bean on Machine A. Then on Machine C you can open a browser and access the servlet deployed on Machine B. All you have to do is install Glassfish on A and B and deploy the servlet and EJB.
 
reply
    Bookmark Topic Watch Topic
  • New Topic