Program1 writes to the cache and reads from it too. Program2 should be able to use the cache as read only. Both programs will be running on the same machine. Can I use Java Caching Service to accomplish this?
Asked
Active
Viewed 292 times
1 Answers
0
You need a so called "distributed cache". Possible products for that would be infinispan or hazelcast.

cruftex
- 5,545
- 2
- 20
- 36
-
I will test with JCS - TCP lateral Cache as I have been reading their documentation. – scott Oct 01 '14 at 16:08
-
http://stackoverflow.com/questions/27063605/jcs-how-to-access-cache-in-two-different-applications-running-in-same-server/27891067#27891067 – Cristian Florescu Jan 11 '15 at 19:23