"From its creation until its destruction, an entity object lives in a container. Transparently to the client, the container provides security, concurrency, transactions, persistence, and other services for the entity objects that live in the container"
What i want to know is how does the container manage the pooling. I mean after the bean is deployed does it load the entire db refered directly into memory and if not then when does it do so ?
posted 9 years ago
How long the entity lives is container specific - each container may use their own algorythm such as LRU.