Patent ID: 7246359

Claim:
A method of maintaining association integrity of Enterprise JavaBeans (EJBs) during EJB passivation and reactivation comprising: obtaining a collection of target EJBs that are associated with a source EJB in a one-to-many or many-to-many association in response to traversing the one-to-many or many-to-many association of the source EJB; registering the collection of target EJBs that are associated with a source EJB in a one-to-many or many-to-many association in a collection registry; wherein the registering comprises registering the collection of target EJBs that are associate with a source EJB in a one-to-many or many-to-many association in the collection registry in response to passivation of the source; reactivating the source EJB; fetching the collection of target EJBs that are associated with the source EJB that is reactivated from the collection registry if the collection of target EJBs that are associated with the source EJB is registered in the collection registry; and materializing the collection of the target EJBs that are associated with the source EJB that is reactivated from secondary storage if the collection of target EJBs that are associated with the source EJB is not registered in the collection registry.