Card 11 / 59: A Stateful session bean can remember its state and the conversation with the client, but sometimes due to performance issues, the container needs to remove the Stateful session bean from the memory releasing its attached resources, what is true about this process?
A)
The Stateful session bean itself persists itself for later activation
B)
The EJB container is the one responsible for managing and serializing the state of the Stateful Session bean
C)
Just before this process (passivating), the container calls the ejbPassivate() method
D)
Just before this process (passivating), the container calls the ejbRemove() method
Answer:
B) The EJB container is the one responsible for managing and serializing the state of the Stateful Session bean
C) Just before this process (passivating), the container calls the ejbPassivate() method
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|