This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 8927

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
 
Have you checked out Aspose?
 
subject: * How to call EJBs from different appservers ?
 
jQuery in Action, 3rd edition