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