The spec is a little vague on what is allowed to be passivated/activated vs what is
re-injected or what must be reset in the lifecycle methods. The question is what is an
"open resource". The test with the transient field and the resultant
re-injection came about because of an old support or forum issue.
anonymous wrote :
| In advanced cases, a session object?s conversational state may contain open resources,
such as open
| sockets and open database cursors. A container cannot retain such open resources when
a session bean
| instance is passivated. A developer of a stateful session bean must close and open the
resources in the
| PrePassivate and PostActivate lifecycle callback interceptor methods.[8]
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015869#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...