4 Replies Latest reply on Jan 17, 2012 10:57 AM by jaikiran pai

    Remote EJB access and jboss-ejb-client.properties

    mauriclaudio Newbie

      Good evening,

       

      as clearly explained in this document: https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI when we're going to use Remote EJB access we need a jboss-ejb-client.properties file to specify connection settings. These information are given directly to the JVM of the client application as run parameters.

       

      Mine is just a consideration: don't you think it would be nice if such settings may be used to inizialize InitialContext() instead of passing them to JVM ? For example, I'm actually using JWS to deploy Java swing-based applications. Remote Appserver endpoint configuration, based upon actual LAN of my users' workstations may vary, and It would be nice if these parameters may be obtained on the fly, after that application has been started by user.

       

      Thank you in advance for your replies.