Other ApplicationsStruts Resume
Set your name in
AppFuse TutorialsIf you've just downloaded AppFuse and want to setup it up on your machine, your best bet is the QuickStart Guide. Once you've got everything setup, the tutorials below are a great resource for learning how to develop with AppFuse. NOTE: These tutorials are included in AppFuse's distribution. If you want to update your project's copy (in the docs directory), run "ant wiki".
As of 1.6.1, you can generate most of the code covered in these tutorials. If you're using Struts+Hibernate, you can generate all of it. For Spring and WebWork, it was too much trouble to write the installers so you will need to manually configure the Controllers and Actions. This was mainly due to the fact that I'm not using XDoclet for these web frameworks and the limitations of using Ant as an installer. The AppGen tool which generates the code is covered in Part I.
There's also an AppFuse Generator project that has similar functionality to AppGen.
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.
Part II: Creating new Managers - A HowTo for creating Business Facades that talk between the database tier (DAOs) and the web tier (Actions or Controllers).
Part III: (Struts) Creating Struts Actions and JSPs - A HowTo for creating Actions and JSPs in your AppFuse project. Includes generating JSPs and customizing them to look good. Also, you will write a WebTest to test the JSPs functionality. Other web framework options are as follows:
Part IV: (Struts) Adding Validation and List Screen - Adding validation logic to the personForm so that firstName and lastName are required fields and adding a list screen to display all person records in the database.
Thomas Gaudin's Excellent AppFuse Tutorials
Thomas Gaudin has put together a couple of detailed and easy-to-follow tutorials on his site.
Related AppFuse HowTos
Outdated Articles that still get some traffic: