Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

EJB Interview Questions and Answers

Ques. What is the difference between ejbCreate() and ejbPostCreate?
Ans. The purpose of ejbPostCreate() is to perform clean-up database operations after SQL INSERTs (which occur when ejbCreate() is called) when working with CMP entity beans. ejbCreate() is called before database INSERT operations. You need to use ejbPostCreate() to define operations, like set a flag, after INSERT completes successfully.
Is it helpful? Yes No

Most helpful rated by users:

©2021 WithoutBook