Skip to end of metadata Go to start of metadata  About this
Tutorial  This tutorial will show you how to create a new table
in the database, and how the create Java code to access this
table.  You will create an object and then some more classes to
persist (save/retrieve/delete) that object from the database. In
Java speak, this object is called a Plain Old Java Object
(POJO). This object basically represents a database table. With
AppFuse 1.x, you typically created a DAO and JUnit Test to
persist this POJO. However, with AppFuse 2.x, there is a
Generics-based DAO and Manager that will CRUD all objects for
you. The only time you'll need to create DAOs is when you want
custom behavior or if you need finders.  AppFuse uses Hibernate
for its default persistence layer. Hibernate is an
Object/Relational (O/R) Framework that allows you to relate your
Java Objects to database tables. It allows you to very easily
perform CRUD (Create, Retrieve, Update, Delete) on your objects.
You can also use iBATIS as a persisten