I followed the developer guide and successfully configured "client Jboss" to "server Jboss" remote EJB call. Than I added second "server Jboss", testing one client - two servers configuration. Now I can see that remote EJB call gets "randomly" routed between "server Jboss1" and "server JBoss2". The question is how EJB layer picks one or another, and can client control explicitly which server will be hit?
I am working on JBoss 4.2 to JBoss 7.3 port project, the application has custom load balancing logic.