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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

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