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).
Don't listen to Steve. Just read this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads