[jboss-user] [EJB3] - Re: Is it possible to attach an object to active stateless session bean
Ilya Sorokoumov
do-not-reply at jboss.com
Sat Jan 22 08:10:38 EST 2011
Ilya Sorokoumov [http://community.jboss.org/people/ilya40umov] created the discussion
"Re: Is it possible to attach an object to active stateless session bean"
To view the discussion, visit: http://community.jboss.org/message/582497#582497
--------------------------------------------------------------
1) Think about stateful ejb. I think that it should work for you if you don't need to get this object from another clients.
2) I don't think that everything that works with static objects and thread is good in EJB. It won't work in a cluster. That's why I'm not sure that it's possible to share this object by reference with another threads.
3) May be JbossCache could help you to store/access some temporal results of this method execution.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/582497#582497]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110122/fa63040a/attachment.html
More information about the jboss-user
mailing list