This content has been marked as final.
Show 1 reply
-
1. Re: Conditional Selection Among EJB Remote Hosts
wdfink Mar 25, 2014 6:24 AM (in response to 8f4xd7qigkwkp)If the EJB for the heavier request is unique deployed on that server you can simple add it to the ejb-client, the client decided based on the EJB name where to go.
If you have the same EJB name a solution might be to use the 'distinct' name to make it unique, i.e. if you set the distinct name for the server in ejb3 subsystem to heavy you can call the EJB myapp/ejb//MyBean!My with myapp/ejb/heavy/MyBean!My and the request will go to the marked server.