Skip to main content


developerWorks  >  Open source | Information Management  >

Improve persistence with Apache Derby and iBATIS, Part 2: Data definition in Derby

developerWorks

Level: Intermediate

Daniel Wintschel (daniel@humandoing.net), Freelance writer

21 Feb 2006

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

In this second tutorial of a three-part series, learn more about how you can improve persistence in your database-driven Java™ applications by combining Apache Derby's power as a small-footprint embeddable database with the iBATIS object-relational (OR) mapping framework. In Part 2, you use iBATIS's Data Access Objects (DAO) and Data Mapper to access an application's underlying data structure effectively.

In this tutorial

  • The JPetStore application

  • The DAO framework

  • The data model

  • The object model

  • Taking iBATIS out for a spin

Prerequisites

To follow the tutorial's examples and create the database you must be comfortable working with basic SQL statements, understand basic XML semantics, be able to read Java code, and know how to run Apache Ant.


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


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