1 Reply Latest reply on Oct 21, 2002 3:39 AM by Alexey Loubyansky

    ejbStore in CMP

    Amy Newbie

      I use jboss-3.0.0_tomcat-4.0.3 and design ejbs in session facade design pattern.

      Fisrt I query some data from database and shows it in GUI. After some changes have made to GUI, I hope the container can get the parameters and then call the ejbStore to update database. How should I do?

      I find that after calling find method the container will call ejbStore. Is there any other method will raise the container to call ejbStore?

      And also, a cmp entity bean's life cycle seems like setEntityContext->activate->...-> passivate-> unsetEntityContext. I want to know when the container will call ejbUnsetEntityContext method? How can I finish an entity bean's life cycle?