About JDBC Caching
Ehcache can easily be combined with your existing JDBC code. Whether you access JDBC directly, or use a Data Access Object/Data Access Layer (DAO/DAL), Ehcache can be combined with your existing data access pattern to speed up frequently accessed data to reduce page load times, improve performance, and reduce load from your database.