The premises of this question is that I have URLs which changes based on the WAS installation box so I would like to hardcode the url as a property. I wanted to know which would be best between using properties file, system environment properties and resource environment entries.
I though that properties file would involve changing the source code for each environment. Resource environment entries on the other hand is too much work (
Resource URL) and also it is exposed to the whole cluster and not that particular server.
I liked using the application server process definition since I only need to add an entry to
Application servers > server1 > Process Definition >
Java Virtual Machine > Custom Properties
and this can be invoked by
Any thoughts ?