Oracle
1Z0-895 · Question #17
Assume you would like to receive notification from the container as a stateless session bean transitions to and from the ready state. Which of the following life cycle back annotations would you…
Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #17. The question stem and answer options stay visible for context.
Server Installation and Configuration
Question
Assume you would like to receive notification from the container as a stateless session bean transitions to and from the ready state. Which of the following life cycle back annotations would you use? (Choose one.)
Exhibit
Options
- A@PostConstruct, @PostDestroy
- B@PostConstruct, @PreDestroy
- C@PreConstruct, @PostDestroy
- D@PostConstruct, @PostDestroy, @Remove
- E@PostConstruct, @PreDestroy, @Remove
Unlock 1Z0-895 to see the answer
You've previewed enough free 1Z0-895 questions. Unlock 1Z0-895 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#lifecycle callbacks#PostConstruct#PreDestroy#stateless session bean
