[jboss-user] [EJB] - issue with stateful session bean lifecycle: SimpleStaefulCac

KoebbingD do-not-reply at jboss.com
Fri Oct 16 06:20:27 EDT 2009


I recently stumbled upon an issue with the lifecycle implementation of EJB3 SFSBs:

In the current implementation an active SFSB is removed from the cache without calling the "@PreDestroy-method" whereas this method is called when the bean has been passivated before.
AFAIK this behaviour is the complete opposite of the standard.

The code is in the run-method of org.jboss.ejb3.cache.simple.SimpleStatefulCache.RemovalTimeoutTask.

Is the behaviour described above wanted?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260710#4260710

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260710

More information about the jboss-user mailing list