users@glassfish.java.net

Share information between GlassFish cluster instances

From: <glassfish_at_javadesktop.org>
Date: Fri, 16 Jul 2010 07:52:58 PDT

Hello,

I need to share some data between the instances in a cluster environment: think of a secret password, that may not be stored but has to be entered once upon cluster startup by an adminstrator. Once entered all instances should have access to the password until a power off situation occurs when all instances are down and thus lose their memory. A newly starting instance must be able to get access to the password.

My current platform ist GlassFish 2.1.1.

I understand that there's a @Singleton annotation in GF 3.1 but this is limited to a JVM instance.

Is there any sort of best practice to handle this task?

Best regards
mdo
[Message sent by forum member 'mdo']

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