Tuesday, March 20, 2012

Custom variable in WAS, Help in to different env properties

1) Create custom properties in WAS where application deployed.



2) Access custom properties in Java code

System.getProperty("Custom property name");

Actually in J2EE application,in each env access point & log file location is different and maintain in code is very difficult. Best option to have some properties in each env and access in code.

No comments:

Post a Comment

Followers