users@glassfish.java.net

Re: Glassfishv2ur2 two machine cluster and Singleton class

From: Kedar Mhaswade <kedar.java.net_at_gmail.com>
Date: Fri, 26 Feb 2010 08:56:30 -0800

Hi,

Can you consider using Terracotta? That way, you could achieve distributed
state management across VM's.
IMO, this is a hard problem to solve.

-Kedar


On Fri, Feb 26, 2010 at 7:47 AM, <glassfish_at_javadesktop.org> wrote:

> Hi Kedar,
>
> thank you for replying.
>
> Yes, it is not a singleton EJB, It is just a singleton class in the EJB
> Container.
> So if GF V2 does not guarantees to preserve the singleton property of
> classes across clusters, can you please suggest some other way of
> achieving the singleton design pattern across cluster ?
> [Message sent by forum member 'mavula8743' (m_k_avula_at_yahoo.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=388938
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>