cancel
Showing results for 
Search instead for 
Did you mean: 

use properties file out of EAR

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185029
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.