users@glassfish.java.net

Re: Is it possible to put an object on the session in EJB3?

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Nov 2007 10:30:35 PST

Session beans, despite their name, have no concept of a "session", at least in a similar aspect to what an HTTP session is.

There is no real global scope across Session Beans. You can always play games with Singleton classes holding things, or with ThreadLocal variables, but none of this is covered by the spec itself.
[Message sent by forum member 'whartung' (whartung)]

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