Re: Distributed Singletons with clustered Tomcat

2008-05-23 Thread Lyallex
On Thu, May 22, 2008 at 2:10 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyllax, Lyallex wrote: | Classically my ServiceLocator has been a Singleton, now I have the | prospect of multiple Singletons living in multiple JVMs. Do you

Re: Distributed Singletons with clustered Tomcat

2008-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyllax, Lyallex wrote: | I just feel I need to control access to resources in some way, | probably better to control access via the service rather that via the | service delivery mechanism. When you say resources, do you mean business resources

Distributed Singletons with clustered Tomcat

2008-05-22 Thread Lyallex
Hello Up until now everything I've done with Tomcat has been on a single server. Now I am developing an application that will require multiple Tomcat servers (instances at least) with some sort of load balancer thing in front of them. Classically my ServiceLocator has been a Singleton, now I have

Re: Distributed Singletons with clustered Tomcat

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyllax, Lyallex wrote: | Classically my ServiceLocator has been a Singleton, now I have the | prospect of multiple Singletons living in multiple JVMs. Do you actually need intra-JVM synchronization or something like that? Why can these singletons