aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes * How to call EJBs from different appservers ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "* How to call EJBs from different appservers ?" Watch "* How to call EJBs from different appservers ?" New topic
Author

* How to call EJBs from different appservers ?

Nasko Aladjov
Greenhorn

Joined: Mar 25, 2003
Posts: 19
Dear all,
What do you think is the best approach to connect EJBs deployed in two different(!) application servers ?
Scenario:
I have a Trader EJB in appserver X. I create another EJB - Customer - and deploy it in appserver Y.
Trader EJB "lives" in the JNDI of X. Customer - in Y.
How to make Customer call the Trader ?
Any ideas ?
Best regards,
~Nasko
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Use JNDI for doing lookup. JNDI implementation class specific to the target server must be passed as property in the JNDI initial context implementation factory.


Groovy
 
 
subject: * How to call EJBs from different appservers ?