users@glassfish.java.net

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

From: <forums_at_java.net>
Date: Sat, 25 Jan 2014 02:52:14 -0600 (CST)

Dear Edilmar, My Question is why you need to change the persistence.xml
files. Almost all configuration can be configure from container (in this case
: glassfish). Use datasource name JNDI to more flexible configuration.
ejb-jar.xml now can be using with 2 method 1. use annotation
(programatically) with this way, you can make some configuration more
flexible 2. use xml Hope this will help you. Thanks Ferry

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