3 Replies Latest reply on Nov 15, 2010 4:01 PM by Michal Kroliczek

    Runtime configuration of EJB / application

    David Vabia Newbie



      Maybe this is trivial question but I’ve been googling for some time and wasn’t able to find an answer.


      I have a message driven bean that uses JCA to act as a socket server. So far so good, works perfectly. The problem is that the entire configuration is hardcoded via activation-config-property tags. And I would like to change it in runtime (e.g. I can stop the application, change for instance the port, and then start the application). How to achieve this (the simple the better)? Ideally, I would like to make these changes via JBoss web gui (admin console or JMX console).


      Thanks in advance