How to implement scaffolding in Spring 3.0

"I am using the spring maven project and want to implement scaffolding in it so that I can dynamically create DAO, service and spring forms depending on the model. How can this be achieved?"

+7
source share
4 answers

First of all, spring roo generates a view as a .jspx page that uses Dojo and Dijit (I don’t understand why roo did not use jQuery). Roo greatly limits the editing of created files.

So, if you use a sketch using roo, you will find that your hands are very attached (the same as now).

My suggestion is to build your models on your own, but for scaffolding you should use JSF or GWT. Both are better than using Dojo. Both are available as spring addition to the row. Hope this helps.

+3
source

Take a look at spring roo . Because it offers what you are looking for.

+2
source

Take a look at this tutorial: https://sites.google.com/site/telosystutorial/

It explains how to create a complete web application (Spring MCV-JPA or Spring Data) from a database

It uses the free Eclipse plugin called "Telosys Tools" (padded code generator)

+2
source

You can try Telosys http://www.telosys.org

This is very effective for scaffolding (from a database or from a specific model). You can customize templates to create exactly what you want.

See also https://modeling-languages.com/telosys-tools-the-concept-of-lightweight-model-for-code-generation/

+1
source

All Articles