You have developed your applications to work with Java Persistence API (JPA) and now you must configure your JPA applications to work in your environment.
The OpenJPA implementation gives you the option of storing frequently used data in the memory to improve performance. OpenJPA provides concurrent data and concurrent query caches that support applications to save persistent object data and query results in memory to share among threads and for use in future queries.