What is the difference between ejbCreate() and ejbPostCreate()

Questions by questioninterest

Showing Answers 1 - 1 of 1 Answers

Lap

  • Feb 11th, 2007
 

ejbCreate() is a method that must exist in all EJBs, it is a method that will be called by the EJB container to create a remote object when it is requested to do so by the client. ejbPostCreate() only exist in entity beans, it is called straight after the bean has been created. This method can be used by the developer to do whatever he/she needs to do once the data has been loaded in to the bean.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions