Is the ejbCreate() method is compulsorry in stateless session beans, statefull session beans and entity beans?

Questions by sadashivarao   answers by sadashivarao

Showing Answers 1 - 1 of 1 Answers

chirag desai

  • Sep 27th, 2006
 

hi,

well, in case of stateless session bean you have at least one ejb create method with out any arguments while in case of stateful session bean you can have one opr more than one ejbcreate method with diff. parameters.

In case of CMP(container bean managed) its not neccessary that you have ejbcreate method in your bean class. In some cases you want to create a bean for update or for delete or for select operation rather than Insert opeartion.

i hope this is sufficient for ejbcreate in EJB

  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