Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

EJB Interview Questions and Answers

  Difficulty Level: AllBeginnerIntermediateExpert

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

Ques 2. What is lazy loading?

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

Ques 4. Is Decorator an EJB design pattern?

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

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

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

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

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

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

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

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

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

Ques 14. What is Remote client view?

Ques 15. What is Session Bean?

Ques 16. What is Local client view?

Ques 17. What is Entity Bean?

Ques 18. What is EJB client JAR file?

Ques 19. What are the methods of Entity Bean?

Ques 20. What is EJB container?

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

Ques 22. What is EJB server?

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

Ques 24. What is software architecture of EJB?

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

Ques 26. What is bean managed transaction?

Ques 27. What are transaction attributes?

Ques 28. What are transaction isolation levels in EJB?

Ques 29. What do you mean by EJB?

Ques 30. What are the different types of EJB?

Ques 31. Explain the life cycle method of EJB?

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

Ques 33. Is threading is possible in EJB?

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

Ques 35. What is Session facade?

Ques 36. What are the transaction Attribute?

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

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

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

Ques 40. What technologies are included in J2EE?

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

Ques 42. What is EJB role in J2EE?

Ques 43. What is in-memory replication?

Ques 44. What is Ripple Effect?

Ques 45. What is a Clone?

Ques 46. What are the types of Scaling?

Ques 47. What is a Server Group?

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

Ques 49. How can I access EJB from ASP?

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

Ques 51. What is EJBDoclet?

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

Ques 53. What are Local Interfaces? Explain.

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

Ques 55. What is software architecture of EJB?

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

Ques 57. What are the methods of Entity Bean?

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

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

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

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

Ques 62. What is bean managed transaction?

Ques 63. What is an EJB Context?

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?

©2016 WithoutBook