java - caching a value common to two jvms -


i storing key value property using ehcache. used in java program x. using java program y, want use same key value pair. read , may update key value pair 1 of 2 java programs x or y. both x, y run @ same time.

you use distributed cache or ehcache replication. start thinking choose read this. personaly prefer distributed cache, because more flexible , easer use. need setup tsa server , configure caches use server.


Comments

Popular posts from this blog

c# - SharpDX Toolkit models rendering inside out -

c# - ajax - How to receive data both html and json from server? -