0 Replies Latest reply on Oct 16, 2009 6:20 AM by Daniel Köbbing

    issue with stateful session bean lifecycle: SimpleStaefulCac

    Daniel Köbbing Newbie


      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?