users@glassfish.java.net

Re: How to take the same Stateful Bean from Remote RMI-IIOP and Local

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 May 2008 14:46:59 PDT

If you can go through the web tier for all EJB access you can store the shared application state
in ServletContext attributes. Otherwise, what people typically do is use mutable static state on
the bean class. It's not portable, but it's typically the case that there is only one version of the
class loaded per application.
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=276146