-
1. Re: how to modify *-ds.xml for different enviroments?
wdfink May 18, 2012 5:10 AM (in response to gazua)In my understanding the *-ds.xml files are configuration for the environment because of what you explain. A developer might use a local DB and does not know the productive environment.
For this I never pack such configuration into an application.
The DB properties must only known by admin, if you pack it into the application it will be easy to read the configuration which break the security.
-
2. Re: how to modify *-ds.xml for different enviroments?
gazua May 21, 2012 7:53 PM (in response to wdfink)Ok. By your answer I have to assume that there is no way of dynamically change the values of *-ds.xml files when they are packaged with the EAR file.
So the next question is, What can be done to dynamically change the values(user, pw, url) of a datasource when a EAR app is deployed?
Cheers
Vic
-
3. Re: how to modify *-ds.xml for different enviroments?
wdfink May 22, 2012 2:56 AM (in response to gazua)AFAIK there is a new feature for getConnection(user,passwd), but I'm not sure in which release it was (I suppose AS7.2, and I don't think that this will go to AS4/5/6)