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