Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-12

Dynamically changing jboss-ejb-client.properties

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta12
    • 1.0.0.Beta7
    • None

      Having seen remoting to EJB's to access on standalone client, we need a feature to change jboss-ejb-client.properties programatically before calling EJB. So that properties like:
      remote.connection.default.host=10.20.30.40
      remote.connection.default.port = 4447
      can be set programatically by standalone client program before calling EJB. It's a feature similar to passing properties like Context.PROVIDER_URL through either jndi.properties or to constructor of InitialContext(Properties props) or both, if both specified, then properties passed to constructor of InitialContext() takes the priority.

      This feature is very helpful for applications which takes ipaddress/port as a user input & then connects to it for accessing EJB's.

      Please have a look at http://community.jboss.org/thread/175201?tstart=0

      If you could please add this feature, I'm sure many people porting their application will have benefit migrating their application from version 4, 5 ,6 to 7. This feature will help me to keep code changes minimum while migrating to AS 7.1

              jaikiran Jaikiran Pai (Inactive)
              prasad.deshpande Prasad Deshpande (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: