JBoss Community

One Component with multiple configurations for multiple Applications

created by laures in EJB3 - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in EJB3 at Community