[jboss-dev-forums] [JBoss AS 7 Development] - enquiry on EJB invocations from remote client using JNDI

fan kam thong do-not-reply at jboss.com
Tue Mar 13 23:59:55 EDT 2012


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+client+using+JNDI https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI, 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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120313/5f95415f/attachment.html 


More information about the jboss-dev-forums mailing list