Multiple choice technology architecture

Which of the following call backs are supported for the stateless session bean?

  1. post construction

  2. pre destroy

  3. both a and b

  4. none of the above.

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

Stateless session beans only support two lifecycle callbacks: PostConstruct (after creation) and PreDestroy (before removal). They don't support activation/passivation because they don't maintain conversational state - instances are pooled and interchangeable.