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.
AppFuse has a Maven Plugin that allows you to generate all the code in these tutorials. However, we recommend you complete the tutorials first so you're familiar with all the code that's being generated. Please follow the steps below.
- Create a Person Entity.
- Create a
PersonDaoin Hibernate or JPA.
- Create a PersonManager to act as a service facade to
PersonDao. Optionally, expose it as a web service.
- Create the web tier using JSF, Struts 2, Spring MVC or Tapestry.
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.