Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement Scaffolding in Spring 3.0

"I am using spring maven project and want to implement Scaffolding in it so that I can generate DAO's, services and spring form dynamically depending upon model. How it can be achieved?"

like image 888
Kedar Avatar asked Jan 02 '13 10:01

Kedar


People also ask

What subscription do I need to use scaffolding with Spring MVC?

Scaffolding with Spring MVC requires a MyEclipse Spring or Bling subscription. . 1. Create a Web Project 2. Scaffold from a Database Table 3. Deploy the App

How do I scaffold a spring CRUD application?

Right-click CustomersApp, and select Spring Tools>Scaffold Spring CRUD Application This menu option was updated in MyEclipse 2017. For prior versions, click here. .

What is scaffolding in Spring Boot?

Scaffolding generates software components and configuration files required to implement the CRUD application. Note: If you want to use the Spring DSL, then you need enable the project for Spring DSL support prior to scaffolding. See Enable Spring DSL for more information.

What is scaffolding from a database table?

Scaffold from a Database Table Scaffolding generates software components and configuration files required to implement the CRUD application. Note: If you want to use the Spring DSL, then you need enable the project for Spring DSL support prior to scaffolding. See Enable Spring DSL for more information.


1 Answers

First of all, spring roo generates view as .jspx pages which uses Dojo and Dijit (I don't understand why roo didn't use Jquery). Roo is very much restrictive to editing the generated view files.

So if you scaffold using roo, you would find your hands are strongly tied (just as mine now is).

My suggestion is, build your models as you wish, but for scaffolding, you should use JSF or GWT. Both are better than using Dojo. Both are available as spring roo add ons. Hope that helps.

like image 169
QuestionEverything Avatar answered Oct 28 '22 15:10

QuestionEverything