[jboss-dev-forums] [Design of EJB 3.0] - Re: Issues with passivation of nested SFSBs
bstansberry@jboss.com
do-not-reply at jboss.com
Sat Jan 27 18:59:35 EST 2007
I implemented solution #3 above for StatefulTreeCache, since normal usage of clustered SFSBs with nested beans will lead to ERRORs in the logs. I think the usage pattern that would lead problems with non-clustered beans is more of an edge case (requires the parent to hand out a ref to the child), so I won't implement it in SimpleStatefulCache without more feedback.
The callbacks related to activation/passivation are also not handled correctly. See http://jira.jboss.com/jira/browse/EJBTHREE-849.
The same analysis I applied in EJBTHREE-849 could also apply to the @PreDestroy callback. Currently, o.j.e.test.clusteredsession.ExtendedPersistenceContextUnitTestCase is failing because this callback is not invoked. I'm not sure if the spec requires invoking the @PreDestroy callback in this situation though.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007303#4007303
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007303
More information about the jboss-dev-forums
mailing list