[jboss-dev-forums] [JBoss AS 7 Development] - Re: Calls against multiple servers from a single client

jaikiran pai do-not-reply at jboss.com
Thu Sep 13 10:57:37 EDT 2012


jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: Calls against multiple servers from a single client"

To view the discussion, visit: https://community.jboss.org/message/759429#759429

--------------------------------------------------------------
You don't have to do that. Use just 1 single selector and set it once during the lifetime of that application and let that selector then do the necessary EJBClientContext creation and handing out. I can give you an pseudocode example on how to do this, but what criteria do you use to identify a client with a destination server? I mean, I need more details about this part:

> Our code is wrapping the proxy returned the InitialContext.lookup to globally lock before preceeding with an ejb call
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/759429#759429]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120913/3b117dc5/attachment.html 


More information about the jboss-dev-forums mailing list