The webappCreator is a convenient tool that provides you with an Eclipse-based dynamic web application template project out of the box.The structure of the web application template project looks like the following:
You are advised to follow package organization to take advantage of Spring's IoC container and conform to other projects.
java | +-- edu.ucsd.act.sample.dao Data Access Object Interface | +-- edu.ucsd.act.sample.dao.impl Data Access Object Implementation | +-- edu.ucsd.act.sample.domain Webapp domain objects | +-- edu.ucsd.act.sample.manager Manager Interface | +-- edu.ucsd.act.sample.manager.impl Manager Implementation | +-- edu.ucsd.act.sample.web Controller | +-- edu.ucsd.act.sample.web.form Form-backing (AKA command) objects | +-- edu.ucsd.act.sample.web.validator Controller Validator
The project includes Ant build files with the following common targets:
- Clean project
- Compiles project java source files
- Builds a web archive (war) file for deployement
ant -p for more information.