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

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.