Multiple choice technology architecture

Which of the following is not a life-cycle method for a Stateful Session Bean?

  1. Post Construction

  2. Pre Destruction

  3. Post Activation

  4. Pre Construction

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The lifecycle methods for Stateful Session Beans are: PostConstruct (after creation), PreDestroy (before removal), PostActivate (after passivation), and PrePassivate (before passivation). There is no 'Pre Construction' lifecycle method - construction happens before PreConstruct, not after. PreConstruction would imply something happens before the bean exists, which is impossible.