users@glassfish.java.net

Re: Changing ejb-jar.xml and persistence.xml in runtime

From: <forums_at_java.net>
Date: Mon, 27 Jan 2014 00:00:32 -0600 (CST)

Hi, I have an webapp shared by many enterprises, where each enterprise has a
database. The logical business is the same for all enterprises and in this
way it consumes minor memory from the server. I use ejb-jar to configure JNDI
names for databases, like this: monteiro persistence/monteiroPU monteiroPU
Transaction And I use persistence for normal database configuration. Then, I
have an installer to put new enterprises, just adding new configurations in
ejb-jar and persistence. The problem is that I have to redeploy the webapp
after this, and all enterprises become without system.

--
[Message sent by forum member 'edilmar']
View Post: http://forums.java.net/node/900946