Discussions

EJB design: Global session objects in J2EE

  1. Global session objects in J2EE (2 messages)

    I was using Netdynamics and was used to the feature called Global session objects. These are objects that can be accessed by any client. The server may be running in multiple JVM (even in different machines).

    I know using Servlets i can create global objects. But this is possible only with one JVM application, right?

    Can this be done using an EJB?



    Threaded Messages (2)

  2. Perhaps you can use your naming service to share these global objects.

    Check out http://www.javaworld.com/javaworld/jw-03-2000/jw-03-howto.html.

    http://www.javaworld.com/javaworld/jw-07-1999/jw-07-cooltools.html.
  3. Entity beans are also by definition global shared persistent objects.