I need only one instance


EJB design: I need only one instance

  1. I need only one instance (1 messages)

    After reading the discussions about singletons on this forum, I am still not sure how one goes about creating an object that only one instance of it existing on the server for the entire application. The EJB Pattern book says use a "Networked RMI Object singletons". Has anyone implemented such RMI object ?

    Any help in this matter will be great.

    Thanks in advance.

    Threaded Messages (1)

  2. singleton in J2EE[ Go to top ]

    Alex Pisarev has a clear view on this subject: