REST API CRUD application with JPA | A complete example|wildfly|mysql
```
Jakarta Persistence is a Jakarta EE specification for accessing, persisting, and managing data between Java objects or classes and a relational database.
JPA Persistence Context
The persistence context acts like a first level transactional cache for interacting with the datasource, where all the entities are fetched from the database or saved to the database
Persistence context keeps track of any changes made into a managed entity. If anything changes during a transaction, then the entity is marked as dirty. When the transaction completes, these changes are flushed into persistent storage.
Jakarta Persistence entity manager represents a connection to the persistence context. You can read from and write to the database defined by the persistence context using the entity manager.
In any managed bean, the EntityManager instance can be injected as in example - @PersistenceContext
1.Application-managed entity managers
2.Container-managed entity managers
````