O'Reilly logo

iBatis in Action by Larry Meadors, Brandon Goodin, Clinton Begin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required