How Well Do You Know Ejb (Enterprise Java Beans)?

10 Questions | Total Attempts: 277

SettingsSettingsSettings
Please wait...
How Well Do You Know Ejb (Enterprise Java Beans)?

Try our EJB quiz and test your knowledge about the one of the best server-side software component. The quiz is made up of ten multiple choice questions that will test your understanding of how EJB and its components work.


Questions and Answers
  • 1. 
    What EJB Category Stores A Specific User’s Data For a Single Session?
    • A. 

      Entity Bean

    • B. 

      Message Driven Bean

    • C. 

      Session Bean

    • D. 

      None of the Above

  • 2. 
    What Type of EJB Is Often Used To Run Independent Operations?
    • A. 

      Message Driven Beans

    • B. 

      Session Bean

    • C. 

      Stateless EJB

    • D. 

      Stateful EJB

  • 3. 
    Which of the Following is a Major Requirement When Running EJB?
    • A. 

      JDK

    • B. 

      Linux

    • C. 

      Mac

    • D. 

      Windows

  • 4. 
    What EJB Category Acts as a Permanent Data Storage?
    • A. 

      Entity Bean

    • B. 

      Message Driven Bean

    • C. 

      Session Bean

    • D. 

      None of the Above

  • 5. 
    Which of the Following is Used by Java Based Applications for Directory Services and Naming?
    • A. 

      EJB

    • B. 

      J2EE

    • C. 

      JAR

    • D. 

      JNDI

  • 6. 
    Which of the Following is Not One of the ACID Properties?
    • A. 

      Atomic

    • B. 

      Conditional

    • C. 

      Isolated

    • D. 

      Durable

  • 7. 
    What is the EJB Mechanism that Can Build a Scheduled Application?
    • A. 

      Callback

    • B. 

      Dependency Injection

    • C. 

      Interceptor

    • D. 

      Timer Service

  • 8. 
    Which of the Following Can be Used in EJB to Create Custom Queries Easily Without Worrying About Specific Details of the Database?
    • A. 

      DAO

    • B. 

      EJBQL

    • C. 

      HQL

    • D. 

      SQL

  • 9. 
    What EJB Transaction Attribute Signify that the Business Method Will Run as Part of Transaction?
    • A. 

      MANDATORY

    • B. 

      NEVER

    • C. 

      REQUIRED

    • D. 

      SUPPORTS

  • 10. 
    In EJB, What Do You Call Exceptions that are Not Caused by Business Code or Business Logic?
    • A. 

      Application Exception

    • B. 

      Non-Business Exception

    • C. 

      System Exception

    • D. 

      None of the Above

Back to Top Back to top