O'Reilly logo

Spring Roo 1.1 Cookbook by Ashish Sarin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Auto-generating Spring MVC controllers andJSPX views from JPA entities

Spring Roo comes with a Web MVC add-on, which supports creating Spring MVC controllers and JSPX views from Roo-managed JPA entities. Spring Roo provides multiple commands, processed by a Web MVC add-on, to help with the auto-generation of the Spring MVC controllers and JSPX views. By default the controllers generated by Roo support creating, reading, updating, and deleting JPA entities from the data store.

The following commands are provided by Roo for creating controllers:

  • controller all: It is used for scaffolding a Spring Web MVC controller for each JPA entity in the application for which a controller doesn't already exist. The controller all command doesn't give you any control ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required