Top 30 EJB Interview Questions and Answers

  1. What is the J2EE?
     
  2. What are the components of J2EE application?
     
  3. What are the J2EE Technologies?
     
  4. Explain J2EE Architectures?
     
  5. What are the Advantages of J2EE?

  6. What is Enterprise Java Bean(EJB)?
     
  7. When to Use EJB?
     
  8. What are the EJB Roles in J2EE?

  9. Explain about EJB Container ?
     
  10. What are the Types of Enterprise JavaBeans?
     
  11. Explain about Session Beans?
     
  12. What is Stateful session bean? Explain it's life cycle?
     
  13. What is stateless session bean ? Explain Life Cycle?
     
  14. What are the differences between the Stateful session bean and Stateless session bean ?
     
  15. When to use Stateful session bean?
     
  16. When to use a stateless session bean?
     
  17. Can a Session Bean be defined without ejbCreate() method?
     
  18. How do Stateful Session beans maintain consistency across transaction updates?
     
  19. Can i call remove() on a Stateless Session bean?
     
  20. What is an Entity Bean? Explain it's life cycle?

  21. What is Message driven bean and it's life cycle?
     
  22. When we can choose Entity Bean ?
     
  23. What are difference between the Statefull Session and Entity Bean?
     
  24. Explain about Deployment Descriptor ?
     
  25. What are the Session Bean CallBack methods ?
     
  26. Explain ACID Properties?
     
  27. What are the Container managed transactions ?
     
  28. Explain Context, InitialContext, SessionContext and EntityContext ?
     
  29. When we can use TxDataSource instead of Datasource?
     
  30. What are the differences between Java Transaction API (JTA) and Java Transaction Service (JTS) ?


Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email