I was unable to find a decent clear post on this so here is my question.
I have a J2EE based app to deploy on Websphere7 (WAS). The EAR contains WAR, also the WAR is dependent on another JAR.
1) Now I plan to write a properties file in the JAR, but not sure how to locate that after deployment on WAS. 2) Also I plan to access it using ResourceBundle as this is how I access another properties file in the WAR.
ResourceBundle rb = ResourceBundle.getBundle("application");
Any ideas on this or is there another way I could configure some properties like 'Environment variables/JNDI variables' etc and still access them in the JAR?
Thanks.