General J2EE: sharing singletons across JVMs
- Posted by: rajneesh jindia
- Posted on: June 08 2004 01:17 EDT
In one of our testing envt we have two solaris boxes running WAS 3.5. I need to share a singleton object across both the boxes.
Is there are mechanism provided by WAS that common data across boxes be shared or any wayout using RMI/JNDI so that both boxes share the same object.
Evenif each has its own personal copy,is there some mechanism for updating the change in one to other?
Since you are on WAS 3.5 you may be in a little trouble because as far as I remember that is still JDK 1.2, but in any case it may be worthwile to
research these resources. There may be some implementations that work with older JDKs: