Christian Groove [
http://community.jboss.org/people/TheGroove] created the discussion
"Is it possible to attach an object to active stateless session bean"
To view the discussion, visit:
http://community.jboss.org/message/582496#582496
--------------------------------------------------------------
Dear sirs,
this question is EJB3 related and does not only regard JBoss.
I would like to assign/register an object to a running method
of a session bean.
This object is session related and its lifetime is limited to
execution of a EJB method. During execution, any successive
method call should be able to access this object without
the need of passing it through the parameter.
One may propose an associaive Array with the thread.id as a key
and a object reference as a value. On JSF i would use a registered
bean (request level).
Does somebody has any idea how to provide this in a
stateless session bean?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/582496#582496]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]