• Card 49 / 59: 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

    Answer:
    D) Instantiation by the EJB container, Dependency injection, PostConstruct call back, PreDestroy

  • Keyboard Shortcuts

    Previous Card ← Previous Card Button
    Next Card → Next Card Button
    Flip Card Space-Bar
<< First < Previous Next > Last >>

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now
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

Hide Choices Interactive Question Quiz Home Page
https://www.jobilize.com/enterprise-javabeans-ejb

Enterprise JavaBeans

Author:

Access: Public Instant Grading

Quiz Permalink:
https://www.jobilize.com/enterprise-javabeans-ejb
Question Permalink:
https://www.jobilize.com/stateless-session-bean-life-cycle-stages
Flash Cards plugin by Curtis Blackwell github.com/curtisblackwell/flash_cards
Google Play and the Google Play logo are trademarks of Google Inc.
Ask
JavaChamp Team
Start Quiz
Edgar Delgado
Start Test
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>