We plan to provide support in Shoal for this purpose.
Shoal will have generic cluster-aware singleton object service support
in the next version.
Felipe Gaścho wrote:
> Question: if I have an EJB 3.1 annotated as @Singleton and I deploy my
> application in a cluster, who guarantees the unique logical instance
> of my bean ?
>
> My application see only 1 EJB instance.. but I know the cluster will
> replicate the instance in each node.. so, who do that synchronization
> ? every Singleton EJB 3.1 becomes accessible only through JNDI ? or
> what ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>