Wolf-Dieter Fink [
https://community.jboss.org/people/wdfink] created the discussion
"Re: Calls against multiple servers from a single client"
To view the discussion, visit:
https://community.jboss.org/message/759548#759548
--------------------------------------------------------------
Hi Tarek,
I suppose you have knowledge with former AS versions.
Throw the knowlege about ejb-clients away, it's complete different.
Since AS7 the Proxy (stub) does not contain any information about the server, it is only a
implementation of the Interface that is created by reflection during runtime lookup().
The Proxy knows only the name "ejb:app/module/distinct/bean!view".
If you execute a method the ejb-client library decide how to go, here is the knowlege what
server exists set by the initial creation or the jboss-ejb-client.properties.
The selector handle the phys. connections to the servers and I'm not sure what happen
in your case setting the selectors for each call, regardless that such sync-block might be
a concurrency bottleneck.
Le me finish my example I mentioned above and it might will give you an idea.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/759548#759548]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]