Model reference
Reference Figure: Application Layers for Spring MVC
The layer view for a Spring MVC application generated from a model, showing the generated artifacts in each layer.
This figure shows the layer view used by MyEclipse for Spring 9.0 when it generates a Spring MVC application. The layers are the same four used by Skyway Builder, and the generated artifacts carry the same names.
Artifacts by layer
- View. JSP pages, form tags and message tags.
- Controller. Handler classes, request mappings and binding results.
- Service. Interfaces, implementations and transaction settings.
- Data. Entities, repositories, named queries and schema scripts.
Using the layer view
Open the layer view after a generation run to confirm that every layer received its artifacts. A missing layer usually means that the recipe set was reduced or that the model lacks a stereotype. The view is a fast way to catch an incomplete run before deployment.
Version note. The 9.0 layer view adds clearer grouping for web flow artifacts. The MVC layers themselves are unchanged from earlier releases.
Keep the figure next to the generated project during review. It gives reviewers a shared vocabulary for the files in the change set.