0 Replies Latest reply on Mar 17, 2011 12:28 PM by laures

    One Component with multiple configurations for multiple Applications

    laures Newbie

      Hi,

       

      I want to write a Framework for a special type of applications. The framework shall supply EJBs that handly stuff like Persistence, Communication...

       

      My problem is that i want to deploy multiple applications based on the framework on one jboss. Every application brings its own configuration for the framework (open ports, datasource to persist to,....).

       

      How can i handle that? How can i make sure that the injected instance of a SLSB in application A uses the config values for A and the instance in application B the values for B without making them a parameter for every single call?

       

      Greetings,

      Alexander