Is there a possibility to purely programmatically invoke EJB on one AS7 instance from another AS7 instance? I know that using approach described in EJB invocations from a remote server instance - JBoss AS 7.2 I can invoke remote EJBs, but I have to pre-configure Client Server by adding e.g. outbound socket binding and remote outbound connection configuration.
I would like to choose the right remote server in my code at runtime, since there could be many remote AS7 instances that are unknown at the moment of app deployment and I want to discover them manually.
Can I apply the solution for standalone client inside AS7?