Raible's Wiki
Raible Designs AppFuseHomepage- Korean - Chinese - Italian - Japanese QuickStart Guide User Guide Tutorials Other ApplicationsStruts ResumeSecurity Example Struts Menu
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
Hide Menu |
This is version 42.
It is not the current version, and thus it cannot be edited. Part I: Creating new DAOs and Objects in AppFuse - A HowTo for creating Java Objects (that represent tables) and creating Java classes to persist those objects in the database. About this TutorialThis tutorial will show you how to create a new table in the database, and how to create Java code to access this table.We will create an object and then some more classes to persist (save/retrieve/delete) that object from the database. In Java speak, we call the object a Plain Old Java Object (a.k.a. a POJO
AppFuse uses Hibernate
Let's get started on creating a new Object, DAO and Test in AppFuse's architecture. Table of Contents
Create a new Object and add XDoclet tags [#1]The first thing we need to do is create an object to persist. Let's create a simple
|