This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to do local look ups in a clustered environment?

 
LGu Gu
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2712
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic