fan kam thong [
https://community.jboss.org/people/ktfan] created the discussion
"enquiry on EJB invocations from remote client using JNDI"
To view the discussion, visit:
https://community.jboss.org/message/723649#723649
--------------------------------------------------------------
I have a requirement for a client to invoke the EJB services in different servers based on
the client application runtime logic.
With reference to this developer guide
https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+...
https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+...,
we can set up mulitple connections on the jboss-ejb-client.properties and from my reading
from other topic, these multiple connections are meant for when connection One is down,
the invocation will go to connection Two. What if I need to
explicitly invoke the connection Two based on the client application runtime logic, how
can I do that ?
|
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=one, two
remote.connection.one.host=localhost
remote.connection.one.port=6999
remote.connection.one.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.two.host=localhost
remote.connection.two.port=7999
remote.connection.two.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false |
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/723649#723649]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]