简体   繁体   中英

Spring web-based admin tool with CRUD

In PHP & Symfony world there is a tool called Sonata Admin https://sonata-project.org/ based on AdminLTE template, that is all-in-one admin tool with login, menu configuration, and what is most important - database tables HTML grid CRUD generators. The tool saves you tons of efforts by avoiding you writing boilerplate code, moreover, there might be a scenario that you would write zero code.

We need the same but for Java and Spring stack. Any recommendations?

Take a look at JHipster project https://jhipster.github.io/

With it you can create Spring Boot+Angular based applications. It provides some cool tools for generating CRUD entities by scaffolding.

https://www.javatpoint.com/spring-mvc-crud-example contains an example of how to create a Spring MVC CRUD there are plenty more examples of various spring project (This particular falls under Spring MVC).

This is not a ready-made CRUD, but a way how you could quickly implement one. https://spring.io/guides/gs/crud-with-vaadin/ is also worth checking.

Although there are few project like spring batch admin (For batch administration), or Spring boot admin (Monitoring spring boot applications), which provides a UI, mainly spring project provides a simple programmatically way of plugging in what's needed.

It's a plug & play kind of framework which targets various aspects of an enterprise application. Chances of finding a ready-made UI app would be more on GitHub rather than a specific spring plugin.

您可以使用STS IDE测试Spring-boot,包括(安全性,REST Web MVC,JPA,DI,IOC,AOP ..),另请参阅Spring ROO

Simple answer to your question is No spring does not provide any tool for that but spring gives you the functionalities that can reduce your work but not with zero coding.

example:

  • Using Spring Data JPA there is an Interface name curdRepository which takes care of the curd Operations we dont need to implement the methods for Curd Spring takes care of Curd operation.
  • Spring Security Provides the login configuration with the login form and logout mechanism.

You can use spring boot or just visit the https://start.spring.io/ it will initialize the spring project with the dependencies you need

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM