users@glassfish.java.net

Re: Stateful EJB3 and InitialContext query

From: <glassfish_at_javadesktop.org>
Date: Wed, 04 Jun 2008 08:34:46 PDT

In the EJB 3 Simplified API, there is no separate "create" API for stateful session beans. Each injection or lookup of a Stateful Session Bean results in a new Stateful Session Bean instance, with a unique identity tied to that particular client reference object.

Typically Stateful Session Bean references are stored in the HttpSession for access across multiple web invocations.
[Message sent by forum member 'ksak' (ksak)]

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