14 Replies Latest reply on Mar 14, 2012 11:05 PM by ktfan

    Dynamic change to jboss-ejb-client.properties


      Hi Guys,


      I read through about jboss-ejb-client.properties file, just a quick question, if I need to set properties in jboss-ejb-client.properties file programatically & then use it for EJB lookup, how do I do it?


      So e.g. If I've to set


      remote.connection.default.port = 4447

      these properties based on user input & then do an EJB lookup, is there any way to do it (just like passing Context.PROVIDER_URL through jndi.properties & to constructor of InitialContext)?


      Thank you,