On p.20 of Frits notes, it says
"The optional SessionBean interface (needed in earlier
EJB version) defines 4 methods setSessionContext, ejbRemove..... If the Session bean implements the optional SessionBean
interface and uses the annotations:
@PreDestroy can only be applied on the ejbRemove() method ...."
For EJB 3.1 exam, do we need to know the details of how to implement ejbRemove(), ejbPassivate() , ejbActivate() and setSessionContext() ?
I know in EJB 2.0, we need to provide implementations for these 4 methods when a bean implements SessionBean interface. To my understanding, in EJB 2.0, the developer even needs to set values for transient variables in a Serializable object inside the ejbActivate() method.