This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I need to create a property file to access single URL in different phases like TEST , QA, PRODUCTION environment in websphere. Plz help me how to do it, i created on .properties file wht the next step.
Faris, Now you have to point to the proper properties file at deployment time. Your choices: 1) Copy over the environment specific file into a common location. 2) Adjust the WAS classpath to include the environment specific file.
Use a Shared Library. Move the same .EAR from environment to environment, but keep you env specific properties files in the shared library. WAS will find them on the classpath as long as it is associated to your application (through the admin console).