Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How i lookup for EJB3 in different server  RSS feed

 
hassan ali
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i need to find Ejb SessionBean in another server to use it

how can id do it?
thank you
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36404
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which server - JBoss, WebSphere, WebLogic, etc? The details of how to do this tend to vary by server.

The basics are the same:
1) Add all needed jars to classpath
2) Create an initial context
3) Lookup the remote home interface from the JNDI
 
hassan ali
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using GlassFish
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!