Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store

Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

EJB Interview Questions and Answers

  Difficulty Level: AllBeginnerIntermediateExperienced/Expert

Ques 1. What do you mean by EJB?

Ques 2. What are the different types of EJB?

Ques 3. Explain the life cycle method of EJB?

Ques 4. What is the difference between EAR, JAR and WAR file?

Ques 5. What is Session Bean?

Ques 6. What is Entity Bean?

Ques 7. What is EJB container?

Ques 8. What is EJB server?

Ques 9. What is EJB role in J2EE?

Ques 10. What is an EJB Context?

Ques 11. What is lazy loading?

Ques 12. Can I map more than one table in a CMP?

Ques 13. Is Decorator an EJB design pattern?

Ques 14. What is the difference between sessioncontext and entitycontext?

Ques 15. Does stateless Session bean create() method contain any parameters?

Ques 16. What is difference between EJB 1.1 and EJB 2.0?

Ques 17. Can a Session Bean be defined without ejbCreate() method?

Ques 18. What is the difference between ejbCreate() and ejbPostCreate?

Ques 19. Why does EJB needs two interfaces(Home and Remote Interface)?

Ques 20. What are the optional clauses in EJB QL?

Ques 21. Can I invoke Runtime.gc() in an EJB?

Ques 22. What are the different kinds of enterprise beans?

Ques 23. What is Remote client view?

Ques 24. What is Local client view?

Ques 25. What is EJB client JAR file?

Ques 26. What are the methods of Entity Bean?

Ques 27. What is the difference between Container-Managed Persistent (CMP) bean and Bean-Managed Persistent(BMP)?

Ques 28. What are the callback methods in Entity beans?

Ques 29. What is software architecture of EJB?

Ques 30. Can Entity Beans have no create() methods?

Ques 31. What is bean managed transaction?

Ques 32. What are transaction attributes?

Ques 33. What are transaction isolation levels in EJB?

Ques 34. can we have static initializer Block in EJB?

Ques 35. Is threading is possible in EJB?

Ques 36. What is connection pooling feature of EJB container?

Ques 37. What is Session facade?

Ques 38. What are the transaction Attribute?

Ques 39. Difference Between ejbStore() and ejbLoad()?

Ques 40. What is the difference between JNDI context, Initial context, session context and ejb context?

Ques 41. What are the two important TCP Socket classes?

Ques 42. What technologies are included in J2EE?

Ques 43. What is the difference between EJB and Java beans?

Ques 44. What is in-memory replication?

Ques 45. What is Ripple Effect?

Ques 46. What is a Clone?

Ques 47. What are the types of Scaling?

Ques 48. What is a Server Group?

Ques 49. What’s new in the EJB 2.0 specification?

Ques 50. How can I access EJB from ASP?

Ques 51. What is the relationship between local interfaces and container-managed relationships?

Ques 52. What is EJBDoclet?

Ques 53. What is the difference between session and entity beans?

Ques 54. What are Local Interfaces? Explain.

Ques 55. Can Entity Beans have no create() methods?

Ques 56. What is software architecture of EJB?

Ques 57. What are the methods of Entity Bean?What is the difference between Container-Managed Persistent (CMP) bean and Bean-Managed Persistent(BMP)?

Ques 58. What are the methods of Entity Bean?

Ques 59. When should I adopt BMP and when I should use CMP?

Ques 60. Static variables in EJB should not be relied upon as they may break in clusters.Why?

Ques 61. Can I develop an Entity Bean without implementing the create() method in the home interface?

Ques 62. What is the need of Remote and Home interface. Why cant it be in one?

Ques 63. What is bean managed transaction?

Ques 64. How can I call one EJB from inside of another EJB?

Ques 65. What happens if remove( ) is never invoked on a session bean?

Ques 66. What is EJB QL?

Ques 67. Can the primary key in the entity bean be a Java primitive type such as int?

Ques 68. How EJB Invocation happens?

Ques 69. What are transaction attributes?

Ques 70. How can I call one EJB from inside of another EJB?

Ques 71. What is the difference between Message Driven Beans and Stateless Session beans?

Ques 72. Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

Ques 73. What is the difference between find and select methods in EJB?

Ques 74. What is the difference between JavaBean and EJB?

Ques 75. What is abstract schema?

Ques 76. What is local interface. How values will be passed?

Ques 77. What is Message Driven Bean?

Ques 78. What are the services provided by container?

Ques 79. How many EJB Objects are created for a Bean?

Ques 80. What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

©2020 WithoutBook