Discussions

General J2EE: sharing singletons across JVMs

  1. sharing singletons across JVMs (1 messages)

    Hi
    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?

    Rajneesh

    Threaded Messages (1)

  2. EJBs?[ Go to top ]

    Rajneesh,

    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:

    http://www.manageability.org/blog/stuff/distributed-cache-java/view

    Regards,
    Edmon Begoli