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 13. iBATIS best practices

This chapter covers

  • Unit testing
  • Configuration management
  • Naming
  • Data structures

iBATIS is all about best practices—it is largely the reason iBATIS was created. For starters, iBATIS helps you maintain separation of concerns between your application and the persistence layer. It also helps you avoid mixing Java and SQL and ending up with a mess of twisted code. iBATIS lets you separate the design of your object-oriented domain model from your relational data model. This chapter discusses a number of best practices that will help you get the most out of iBATIS.

13.1. Unit testing with iBATIS

Unit testing has become a very important part of modern software development methodologies. Even if you don’t subscribe ...

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