Can anyone explain the flow of finder method execution. From what I found out, the flow is somewhat like this EJBLoad -> setEntityContext -> EJBActivate -> EJBLoad -> ... some business method like getName(). Why is the EJBLoad method called twice?
Rahul
Mon Mayor
Ranch Hand
Joined: Mar 07, 2002
Posts: 40
posted
0
I guess that the first load is the actual loading of the data into the bean. Since the bean already exists EjbActivate is used to move the bean from the pool to ready state. EjbLoad always follows EjbActivate like ejbstore is called before ejbpassivate. I could be wrong though. Thanks MM(SCEA)