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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment