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 2. What is iBATIS?

This chapter covers

  • When to use iBATIS
  • When not to use iBATIS
  • Getting started
  • Future direction

In the previous chapter we discussed in detail the philosophy behind iBATIS and how the framework came to be. We also stated that iBATIS is a hybrid solution that borrows ideas from various other methods of working with a relational database. So what exactly is iBATIS? This chapter will answer that question.

iBATIS is what is known as a data mapper. In his book Patterns of Enterprise Application Architecture (Addison-Wesley Professional, 2002), Martin Fowler describes the Data Mapper pattern as follows:

A layer of Mappers[1] that moves data between objects and a database while keeping them independent of each other ...

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