Quiz Permalink:
https://www.jobilize.com/enterprise-javabeans-ejb
Question Permalink:
https://www.jobilize.com/stateless-session-bean-life-cycle-stages
Question 47 / 57:  What is the typical order of life cycle stages an average stateless session bean goes through starting from its instantiation till retiring?
A  Instantiation by the EJB container, PostConstruct call back, Dependency injection, PrePassivate
B  Instantiation by the EJB container, PostConstruct call back, Dependency injection, PreDestroy
C  Instantiation by the client code, Dependency injection, PostConstruct call back, PreDestroy
D  Instantiation by the EJB container, Dependency injection, PostConstruct call back, PreDestroy
<< First < Previous Flashcard Next > Last >>
Explanation:

The EJB container is responsible for the instantiation of session beans

The right order is:

Instantiation by the EJB container,

Dependency injection,

PostConstruct call back,

PreDestroy call back

Quiz Home Page
https://www.jobilize.com/enterprise-javabeans-ejb

Enterprise JavaBeans

Author:

Access: Public Instant Grading

Ask
Hannah Sheth
Start Quiz
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/enterprise-javabeans-ejb" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>