[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: quincyj  XML
Profile for quincyj -> Messages posted by quincyj [1]
Author Message

I'm working on a spring projet and I would like to put a resource on a cluster.
Now, I have a class called "MapLocker" who allowed my user to lock a map to edit it.
MapLocker class has a field like the following where the key of the HashMap is the primary key a map.
private Map<Integer,LockerVO> maps;

For the moment, I'm working in a single JVM and several synchronized method allows unique read and write on attribut maps :

Now, I would like to share this bean to allow several JVM to read and write datas in a unique attribute "maps".

1. First, is it something possible with Terracotta ? I'm not so sure
2. Which steps should I follow please ?
3. Is such a cluster can be done on Amazon cloud ?

Hope that you will understand my questions. Thanks very much for your help,
Profile for quincyj -> Messages posted by quincyj [1]
Go to:   
Powered by JForum 2.1.7 © JForum Team