File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How to do local look ups in a clustered environment? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to do local look ups in a clustered environment?" Watch "How to do local look ups in a clustered environment?" New topic
Author

How to do local look ups in a clustered environment?

LGu Gu
Greenhorn

Joined: Sep 05, 2003
Posts: 19
I have a clustered environment. And need to go through a series of EJB calls. For performance reasons, I like to all EJB calls in one action are all invoked on one node. So, after the first EJB call on one node, I like to do local look up on the same node for subsequent EJB calls. Help needed. THanks!
Liang
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Excuse me if this seems obvious... but just get an InitialContext to the local server everytime you need to lookup an ejb.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to do local look ups in a clustered environment?
 
Similar Threads
How to Forward request for jboss client to apache load balancer ?
Stateless Bean Calling Stateful Bean
Caching EJB home interface, is it nessessary
Is there any way to not load balance EJB call in WAS cluster?
Singleton in Cluster