• Card 2 / 59: What are the advantages of EJB 3.x over EJB 2.x?
    A) Developers no longer need to use deployment descriptors to declare the session beans (state that a class is a session bean )
    B) The business interface of a session bean can now be a plain old Java interface (POJI)
    C) Keeping the old way in writing EJBObject or EJBHome interfaces
    D) Introducing the approach "configuration by exception" or "convention over configuration"

    Answer:
    A) Developers no longer need to use deployment descriptors to declare the session beans (state that a class is a session bean )
    B) The business interface of a session bean can now be a plain old Java interface (POJI)
    D) Introducing the approach "configuration by exception" or "convention over configuration"

  • 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:

EJB prior to 3.0 require writting EJBObject or EJBHome interfaces and classes.

"convention over configuration" approach means that defaults are set to reduce the time spent on setting the requirements. Only when a developer wants a specific behavior to be done other than the default, only then he/she can set the requirement explicitly

Hide Choices Interactive Question Quiz Home Page
Flash Cards plugin by Curtis Blackwell github.com/curtisblackwell/flash_cards
Google Play and the Google Play logo are trademarks of Google Inc.
Ask
Heather McAvoy
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>