반응형
Developing a Spring Framework MVC application step-by-step
2.5
Copies of this document may be made for your own use and for
distribution to others, provided that you do not charge any
fee for such copies and further provided that each copy
contains this Copyright Notice, whether distributed in print
or electronically.
Table of Contents
- Overview
- 1. Basic Application and Environment Setup
- 1.1. Create the project directory structure
- 1.2. Create 'index.jsp'
- 1.3. Deploy the application to Tomcat
- 1.4. Check the application works
- 1.5. Download the Spring Framework
- 1.6. Modify 'web.xml' in the 'WEB-INF' directory
- 1.7. Copy libraries to 'WEB-INF/lib'
- 1.8. Create the Controller
- 1.9. Write a test for the Controller
- 1.10. Create the View
- 1.11. Compile and deploy the application
- 1.12. Try out the application
- 1.13. Summary
- 2. Developing and Configuring the Views and the Controller
- 3. Developing the Business Logic
- 4. Developing the Web Interface
- 4.1. Add reference to business logic in the controller
- 4.2. Modify the view to display business data and add support for message bundle
- 4.3. Add some test data to automatically populate some business objects
- 4.4. Add the message bundle and a 'clean' target to 'build.xml'
- 4.5. Adding a form
- 4.6. Adding a form controller
- 4.7. Summary
- 5. Implementing Database Persistence
- 6. Integrating the Web Application with the Persistence Layer
- A. Build Scripts