× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Walden H. Leverich wrote:

All,

If I understand the concept correctly, one should put their "softcoded"
things into a properties file. This could be connection strings (if
you're not using WebSphere data sources), Web Services addresses, URLs
you access that are different between test and production, etc.

Now, the properties file is "wrapped" into the WAR file that's deployed
to websphere. So, once deployed you go into the properties file and make
your changes? Am I good so far? If so, what's the process for deploying
updates? If I re-deploy the WAR file then I'll overwrite the properties
file, so I have to make my changes again?
Is there a way to exclude the properties file from the WAR and have WS
leave it on the server?

The WAR/EAR may read a property file with getResourceAsStream() if it is located in the classpath, which is set up by the application server / web container. Usually this includes a system directory outside the *AR (regardless if it is unpacked or not).

Put the property file there.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.