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 that moves data between objects and a database while keeping them independent of each other ...