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 10. iBATIS data access objects

This chapter covers

  • DAO rationale
  • Configuration
  • A SQL Map DAO example

Applications often need to access data from multiple data sources: relational databases, file systems, directory services, web services, and other providers. Each of these data stores has a different API to access the underlying storage mechanism, along with a whole set of idiosyncrasies.

The Data Access Object (DAO) pattern is used to hide the unique implementation quirks of these APIs. It provides a simple and common API for application developers so that the consumers of the data can be free of the complexities of the data access APIs.

The iBATIS Data Access Objects subproject is a simple implementation of the core J2EE pattern ...

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