on 01-19-2007 6:32 AM
HI All,
Generally we create an EAR file with all the property files embedded in it. Here the problem is as and when we change the property files we need to build a new ear file and redeploy to J2EE stack.
Is there any way that this properties file is out of EAR application and changes done to the property file reflects in EAR? So that, no need to redeploy the application again and again. Means dynamic reflecting of property changes to already deployed EAR application. How it can be done?
Actually this is our client requirement also...
Hope am clear.
Regards,
Satish.
Hi,
There are ways to achieve this.
I guess you can try following.
You can define properties file in another project (like java project) and then include that project as a reference in your EAR application.
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Frequently changing the properties inside a properties file ...do you think it is a good design? Such frequently changing values should be maintained in database and a UI should be provided to manipulate those values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.