Skip to main content


developerWorks  >  Open source | Information Management  >

Improve persistence with Apache Derby and iBATIS, Part 1: Initial configuration, semantics, and a simple test

developerWorks

Level: Intermediate

Daniel Wintschel (daniel@humandoing.net), Author and developer, Freelance

24 Jan 2006

Register now or sign in using your IBM ID and password.

The iBATIS database-mapping framework -- a popular Java framework for object-relational (OR) mapping -- is now an Apache open source project. This tutorial is the first in a three-part series demonstrating how to combine Apache Derby's power as a small-footprint embeddable database with iBATIS and use this combination to improve persistence in your database-driven Java applications. In Part 1, you learn about iBATIS's advantages as a persistence mechanism and focus on the iBATIS Data Mapper framework.

In this tutorial

  • What is iBATIS?

  • The iBATIS frameworks

  • Advantages of iBATIS

  • iBATIS Data Mapper semantics

  • Configure Derby and iBATIS

  • Test Derby and iBATIS

Prerequisites

  • Basic understanding of SQL statements, XML semantics, and Java code
  • Knowledge of how to run Apache Ant to follow the tutorial's examples and create the database

System requirements

To run the example code in this tutorial, you need to:

  • Download and install several applications.
  • Define environmental variables.
  • Extract the .zip file.
  • Modify a .properties file.


Duration

Under two hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


Learn and share!

Exchange know-how with your peers -- try our new Pass It Along beta app


More in this series:
Improve persistence with Apache Derby and iBATIS