There are two approaches: bean-managed and container-managed. |
Bean-managed persistence when a bean supports its persistence protocol, it is called bean-managed. |
When a container provides the persistence protocol, it is called container-managed persistence. |
When a component is in the memory, it is called that the component is active or in active state. |