The activate method is called when the instance is activated
from its "passive" state. The instance should acquire any resource
that it has released earlier in the ejbPassivate() method.
ejbCreate
public void ejbCreate(String name) throws javax.ejb.CreateException(Code)
Parameters: name - exception: javax.ejb.CreateException -
The passivate method is called before the instance enters
the "passive" state. The instance should release any resources that
it can re-acquire later in the ejbActivate() method.
A container invokes this method before it ends the life of the session
object. This happens as a result of a client's invoking a remove
operation, or when a container decides to terminate the session object
after a timeout.