Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Gemfire and the fly likes Connect to two different caches from a client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Caching » Gemfire
Bookmark "Connect to two different caches from a client" Watch "Connect to two different caches from a client" New topic
Author

Connect to two different caches from a client

Reddy Prashanth
Ranch Hand

Joined: Aug 09, 2005
Posts: 61
Hi,

Looks this is the first message in Gemfire forum.
could someone please advice here. I am using Gemfire v6.5.

I have two different cache servers running on two different machines. These two are not related to each other. Lets say one is PRODUCT cache and the other is PRICE cache.
Now I have a client application, which need data from both cache servers.

I could create a distributed system and connect to the first cache, but while trying to connect to second cache, it says, there is already a distributed system exists.
As per documentation we can have only one distributed system per VM. How can I get the data from both the caches simultaneously.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Connect to two different caches from a client
 
jQuery in Action, 3rd edition