Skip to content
Spring MVC Forge Plugin
Java CSS
Find file
Latest commit 66b9b2d Jul 26, 2012 Ryan Bradley Fix targetDir reference in pageTemplate.jsp
Failed to load latest commit information.
src Fix targetDir reference in pageTemplate.jsp Jul 26, 2012
.gitignore gitignore Jan 17, 2012 Update Jul 25, 2012
pom.xml Upgrade to Metawidget version 2.4-SNAPSHOT Jul 26, 2012

The 'plugin-spring-mvc' repository contains the source code for a Spring ScaffoldProvider. This ScaffoldProvider implementation, SpringScaffold, can be used in conjunction with the ScaffoldPlugin to generate a web application that uses Spring MVC to handle simple CRUD cases for generated entities.

To properly set up a project for Spring scaffolding, execute the following commands:

persistence setup --provider {PROVIDER} --container {CONTAINER}

scaffold setup --scaffoldType spring --targetDir {TARGET_DIR}

Then, execute scaffold from-entity on the entity.

This repository also contains the Spring plugin, with many commands used to enhance an existing project to configure Spring MVC, e.g. generating application context files, updating web.xml, etc. The commands of this plugin, once installed, are available under the alias 'spring'. The plugin code itself is contained within the SpringPlugin class.

Finally, the repository contains a SpringFacet which, when installed, indicates that the project has a designated location for an application context file (src/main/resources/META-INF/spring/applicationContext.xml by default) and has all of the necessary Spring dependencies.

Something went wrong with that request. Please try again.