This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 8898

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: * How to call EJBs from different appservers ?
 
Similar Threads
Can I also call EJBs with this?
JBoss 4.2: is possible to access via local interface EJB ?!
Protecting EJBs for public use
[JTA] Distributed transactions questions
Transaction in diferent AppServer