I have a doubt about Predestroy lifecycle callback interceptor and timeout for Stateful Session Bean: at page 245, paragraph "Transitioning out of Method-Ready state", O'Reilly's "Enterprise JavaBeans 3.0, fifth Edition" says:
"When a timeout occurs in the Method-Ready state, the container, but is not required to, call any @PreDestroy callback methods".
But at paragraph 4.4.3 of the specifications, you can read that:
"The following scenarios result in Predestroy lifecycle callback interceptor method(s) not being called for an instance:
1. A crash of EJB
2. A system exception thrown from the instance's method to the container
3. A timeout of client inactivity while the instance is in the passive state. [...]"
So, during the Method-Ready state, is the PreDestroy method invoked or not?
Is it a mistake from my book?
Thanks in advances