Chapter 9. Improving performance with caching
This chapter covers
- Cache philosophy
- Cache configuration
- Caching strategies
Caching in general has broad meaning. For example, in a traditional web application that contains presentation, service, and data access layers, it could make sense to cache on any or all of those layers. The iBATIS cache focuses on caching results within the persistence layer. As such, it is independent of the service or presentation layers, and is not based on object identity.
In this chapter, we will look at how to configure, optimize, and even extend the iBATIS caching implementations.
9.1. A simple iBATIS caching example
IBATIS’s robust and simple caching mechanism is completely configuration based and removes ...
Get iBATIS in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.