Access Keys:
Skip to content (Access Key - 0)

Tutorials

Labels

appfuse appfuse Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

To develop an application with AppFuse, you generally create POJOs and configure how they work with Spring. Follow the steps below to create a master/detail screens that CRUD a Person object. You should create a project using the QuickStart Guide and setup your Development Environment before starting these tutorials.

  1. Create a Person Entity.
  2. Create a PersonDao in Hibernate, iBATIS or JPA.
  3. Create a PersonManager to act as a service facade to PersonDao.
  4. Create the web tier using JSF, Struts 2, Spring MVC or Tapestry.
Help us help you
These tutorials are designed to make it easy to develop applications with open source Java frameworks. If you have difficulty in any sections, or think that things can be clarified, we encourage you to 1) contact the mailing list or 2) modify the page to make things more clear.

To modify content, create an account, then navigate to the page you want to modify and select Edit > Edit this page. The AppFuse Team monitors changes so they will receive notifications of your changes and can correct any mistakes you make.

Where's the source?
One of the most commonly asked questions about AppFuse 2.x is where's the source? If you'd like to convert your project so it doesn't rely on AppFuse dependencies and includes AppFuse's source instead, run mvn appfuse:full-source.

CRUD Generation
AppFuse has a Maven Plugin that allows you to generate all the code in these tutorials. However, we recommend you complete these tutorials before using it so you're familiar with all the code that's being generated.

One of the nice features of AppFuse 2.x is you no longer need to create a DAO or Manager for type-safe CRUD functionality. You merely need to create Spring bean definitions. This means you should be able to easily develop a front-end without worrying about writing code for the backend (until you need customized functionality of course).

Having trouble choosing a web framework?
If you're having trouble choosing a web framework, read What Web Application framework should you use? and Java Web Framework Sweet Spots. More information on comparing web frameworks can be found at https://appfuse-light.dev.java.net/framework-comparison.
Adaptavist Theme Builder (4.0.0-M8) Powered by Atlassian Confluence 3.1, the Enterprise Wiki.