users@glassfish.java.net

Re: Share information between GlassFish cluster instances

From: <glassfish_at_javadesktop.org>
Date: Sat, 17 Jul 2010 02:05:17 PDT

I've gone over this myself...

Can you store it in the database?

Coordinating objects in memory across the cluster is a journey on itself.

-Eclipselink 2.1 offers JPA 2.1 cache coordination in a cluster, And i think also Hibernate.
-There is an Oracle implementaion of JCache called Oracle TimesTen (very expensive). It basically synchronizes in memory data in a cluster..
-Another way of talking between clustered EJB containers is through JMS and MessageDrivenBeans. Every time the password changes, you could broadcast it via JMS Publish / Subscribe to MDB that update the Singletons...
[Message sent by forum member 'pablopina']

http://forums.java.net/jive/thread.jspa?messageID=477857