Reputation: 1571
I have a web application developed with spring mvc and for the persistence I use JPA (Hibernate implementation) and I woluld like to add a CRUD GUI to that application.
Do you know some framework that allow me to generate in my project the CRUD GUI from the JPA entities?
Thanks in advance for your help
Upvotes: 5
Views: 5644
Reputation: 11
You can take a look at crud-rest-gen project which explains how to use the crud-maven-plugin to generate :
All you have to provide is the data model containing the JPA entities.
Many samples are provided, based on the Spring PetClinic data model.
Upvotes: 0
Reputation: 2460
Telosys Tools code generator could help you.
It generates Spring MVC web app with CRUD screens
Let's have a look at the tuto : https://sites.google.com/site/telosystutorial/
Web site : https://sites.google.com/site/telosystools/
Upvotes: 3
Reputation: 733
You should look at LightAdmin pluggable administration interface for Java web applications. It provides exactly what you're looking for and it's based on the same technology stack.
The only thing you will need to do is to download a jar or declare Maven dependency, enable your domain administration through web.xml (point to package containing your JPA entities) and create @Administration configuration for the entity.
Upvotes: 3
Reputation: 7937
You could try the Java version of Play! framework: see the following link
Upvotes: 0
Reputation: 340763
You might want to have a look at grails, unfortunately this means switching language and whole stack. In Java land there is spring-roo. Finally check out spring-data umbrella of projects, specifically spring-data-jpa for rapid DAO generation and spring-data-rest for generating REST interfaces.
Once you have a REST interface, consider jqgrid JavaScript library for integrated listing/paging/full CRUD based on REST AJAX API. See my article and sources for example.
Upvotes: 3