In summary, my problem is
Is it possble to maintain a static hash map between two web applications where one application updates the static map and the other retrieves data from it ??
When I tried it, I found that the two web apps access two different copies of the map. Therefore the updates from one web app is not visible to the other.