I have web application deployed on WebSphere Community edition (WAS CE) server on four different machines for load balancing purposes. I want to store some constant variables/objects among the four servers. If I change the variable in web application on one server, the same copy should be available for the web apps on the other three servers. Since these variables/objects are not related to the user session, sticky-session will not help here. Is JNDI the best solution? kindly share your knowledge on any other better solutions/techniques.
OS: Linux
Application Server: WebSphere Community edition (WAS CE).