Spring Boot demo
some simple spring boot demos which Contains 170 usage scenarios, the code is ready to use, the environment is all built with Docker, and the sample code can be quickly deployed without worrying too much about the environment.
Feature
- Quick Start
- Easier Understand
- Simple Use
Module
Serial number | Module name | Module description | docs | status |
---|---|---|---|---|
1 | demo | Springboot minimalist demo | CN / EN | done |
2 | redis | Spring Boot integrated Redis quick start demo | CN / EN | done |
3 | hanlp | Spring Boot integrated hanlp quick start demo | CN / EN | done |
4 | mysql | Spring Boot integrated MySQL quick start demo | CN / EN | done |
5 | minio | Spring Boot integrated Minio quick start demo | CN / EN | done |
6 | elasticsearch | Spring Boot integrated ElasticSearch quick start demo | CN / EN | done |
7 | rocketmq | Spring Boot integrated rocketmq quick start demo | CN / EN | done |
8 | graylog | Spring Boot integrated graylog quick start demo | CN / EN | done |
9 | mongodb | Spring Boot integrated mongodb quick start demo | CN / EN | done |
10 | prometheus | Spring Boot integrated prometheus quick start demo | CN / EN | done |
11 | kafaka | Spring Boot integrated kafka quick start demo | CN / EN | done |
12 | nacos | Spring Boot integrated nacos quick start demo | CN / EN | done |
13 | xxl-job | Spring Boot integrated xxl-job quick start demo | CN / EN | done |
14 | Spring Boot integrated mail quick start demo | CN / EN | done | |
15 | logback | Spring Boot integrates logback to print colored logs | CN / EN | done |
16 | docker | Spring Boot integrated docker quick start demo | CN / EN | done |
17 | flyway | Spring Boot integrated flyway quick start demo | CN / EN | done |
18 | webSocket | Spring Boot integrated websocket quick start demo | CN / EN | done |
19 | neo4j | Spring Boot integrates neo4j to realize simple knowledge graph | CN / EN | done |
20 | flink | Spring Boot integrated flink quick start demo | CN / EN | done |
21 | graalvm-js | Spring Boot integrated GraalVM js engine quick start demo | CN / EN | done |
22 | python | Spring Boot integrated python engine quick start demo | CN / EN | done |
23 | hazelcast | Spring Boot integrates hazelcast to implement distributed caching | CN / EN | done |
24 | mapstruct | Spring Boot integrated mapstruct quick start guide | CN / EN | done |
25 | jpa | Spring Boot integrated JPA quick start demo | CN / EN | done |
26 | mybatis-plus | springboot with mybatis-plus | CN / EN | done |
27 | quartz | springboot with quartz | CN / EN | done |
28 | rabbitmq | springboot with rabbitmq | CN / EN | done |
29 | session | springboot with session | CN / EN | done |
30 | test | Spring Boot Unit Test Quick Start Demo | CN / EN | done |
31 | oauth2 | Spring Boot integrated oauth2 quick start demo | CN / EN | done |
32 | swagger | Spring Boot integrated Swagger quick start demo | CN / EN | done |
33 | druid | Spring Boot integrated Ldap quick start demo | CN / EN | done |
34 | ldap | Spring Boot integrated Ldap quick start demo | CN / EN | done |
35 | zookeeper | Spring Boot integrated zookeeper quick start demo | CN / EN | done |
36 | activiti | Spring Boot integrated activiti quick start demo | CN / EN | done |
37 | async | Spring Boot integrated @Async quick start demo | CN / EN | done |
38 | dubbo | pring Boot integrated dubbo quick start demo | CN / EN | done |
39 | dynamic-datasource | springboot with dynamic-datasource | CN / EN | done |
40 | https | Spring Boot integrated Https quick start demo | CN / EN | done |
41 | security | Spring Boot Integrated Security Quick Start Demo | CN / EN | done |
42 | shiro | Spring Boot integrated Shiro quick start demo | CN / EN | done |
43 | sharding-jdbc | Spring Boot integrated sharding-jdbc quick start demo | CN / EN | done |
44 | freemaker | springboot with freemaker | CN / EN | done |
45 | thymeleaf | Spring Boot integrated thymeleaf quick start demo | CN / EN | done |
46 | gemfire | Spring Boot integrated geode quick start demo | CN / EN | done |
47 | jacoco | Spring Boot integrates jacoco to implement unit test coverage statistics | CN / EN | done |
48 | Jasypt | Spring Boot integrated jasypt quick start demo | CN / EN | done |
49 | checkstyle | Spring Boot integrated checkstyle quick start demo | CN / EN | done |
50 | Captcha | Spring Boot integrates AJ-Captcha to implement sliding verification code function | CN / EN | done |
51 | SpringRetry | Spring Boot integrated Spring Retry quick start demo | CN / EN | done |
52 | netty | Spring Boot integrates netty to implement websocket communication | CN / EN | done |
53 | spring boot starter | How does Spring Boot customize its own Starter component? | CN / EN | done |
54 | debezium | Spring Boot integrated Debezium quick start demo | CN / EN | done |
55 | qrcode | Spring Boot integrates zxing to realize the function of generating QR code | CN / EN | done |
56 | easypoi | Spring Boot integrated easypoi quick start demo | CN / EN | done |
57 | api-version | Spring Boot API Multi-version Quick Start Demo | CN / EN | done |
58 | jwt | Spring Boot integrated JWT quick start demo | CN / EN | done |
59 | JSch | Spring Boot integrated JSch quick start demo | CN / EN | done |
60 | atomikos | Spring Boot integrated atomikos quick start demo | CN / EN | done |
61 | fastdfs | Spring Boot integrated fastdfs quick start demo | CN / EN | done |
62 | Chronicle Queue | Spring Boot integrated chronicle queue quick start demo... | CN / EN | done |
63 | hikari | Spring Boot integrated hikari quick start demo | CN / EN | done |
64 | itextpdf | Spring Boot integrates itext to realize the function of generating PDF from html | CN / EN | done |
65 | disruptor | Spring Boot integrated disruptor quick start demo | CN / EN | done |
66 | zipkin | Spring Boot integrated zipkin quick start demo | CN / EN | done |
67 | ContentNegotiation | Spring Boot Content Negotiation Quick Start Demo | CN / EN | done |
68 | GraphQL | Spring Boot integrated Graphql quick start demo | CN / EN | done |
69 | postgres | Spring Boot integrates Debezium to achieve postgres incremental synchronization | CN / EN | done |
70 | webflux | Spring Boot integrated webflux quick start demo | CN / EN | done |
71 | poster | Spring Boot integrated easyposter quick start demo | CN / EN | done |
72 | AI | Spring Boot integrates Spring AI to quickly access openAI | CN / EN | done |
73 | grpc | Spring Boot integrated grpc quick start demo | CN / EN | done |
74 | StateMachine | Spring Boot integrated statemachine quick start demo | CN / EN | done |
75 | pf4j | Spring Boot integrates pf4j to realize plug-in development function | CN / EN | done |
76 | rmi | Spring Boot integrated rmi quick start demo | CN / EN | done |
77 | sitemap | Spring Boot integrates sitemapgen4j to generate website maps | CN / EN | done |
78 | generate | springboot with generate | CN / EN | done |
79 | profile multi env | springboot with profile | CN / EN | done |
80 | Olingo | Spring Boot integrated olingo quick start demo | CN / EN | done |
81 | Atomix | Spring Boot integrated Atomix quick start demo | CN / EN | done |
82 | Deeplearning4j | Spring Boot integrates DeepLearning4j to realize image digital recognition | CN / EN | done |
83 | Drools | Spring Boot integrated drools quick start demo | CN / EN | done |
84 | web service | Spring Boot integrated webservice quick start demo | CN / EN | done |
85 | Spring Mobile | Spring Boot integrated Spring Mobile quick start demo | CN / EN | done |
86 | Blockchain | Spring Boot integrated BlockChain quick start demo | CN / EN | done |
87 | jsoup | Spring Boot integrates jsoup to implement html parsing | CN / EN | done |
88 | Spring Task Scheduler | Spring Boot integrates Spring Task Scheduler | CN / EN | done |
89 | Tensorflow | Spring Boot integrates tensorflow to realize image detection service | CN / EN | done |
90 | XStream | Spring Boot integrated xstream quick start demo | CN / EN | done |
91 | WebRTC | Spring Boot integrates websocket to implement webrtc function | CN / EN | done |
92 | vavr | Spring Boot integrated vavr quick start demo | CN / EN | done |
93 | Vaadin | Spring Boot integrated vaadin quick start demo | CN / EN | done |
94 | timefold-solver | Spring Boot integrates Timefold Solver to implement course schedule arrangement | CN / EN | done |
95 | ANTLR | Spring Boot integrates antlr to implement lexical and grammatical analysis | CN / EN | done |
96 | Tika | Spring Boot integrates tika to convert word to html | CN / EN | done |
97 | tablesaw | Spring Boot integrated tablesaw plug-in quick start demo | CN / EN | done |
98 | pmd | Spring Boot integrated pmd plug-in quick start demo | CN / EN | done |
99 | GeoTools | Spring Boot integrated GeoTools quick start demo | CN / EN | done |
100 | Spring Shell | Spring Boot integrated Spring Shell quick start demo | CN / EN | done |
101 | Picocli | Spring Boot integrated Picocli quick start demo | CN / EN | done |
102 | tidb | Spring Boot integrated tidb quick start demo | CN / EN | done |
103 | testcontainers | Spring Boot integrated testcontainers quick start demo | CN / EN | done |
104 | validation | Spring Boot integrates validation to implement parameter verification | CN / EN | done |
105 | SpEL | Spring Boot integrated SpEL quick start demo | CN / EN | done |
106 | banner | Spring Boot integrated Banner quick start demo | CN / EN | done |
107 | rss | Spring Boot integrated rss quick start demo | CN / EN | done |
108 | sse | Spring Boot integrated freemaker quick start demo | CN / EN | done |
109 | Qwen1.5-7B-Chat | Spring Boot integrates qwen:0.5b to implement conversation function | CN / EN | done |
111 | hana | Spring Boot integrated HANA quick start demo | CN / EN | done |
112 | geodesy | Spring Boot integrates geodesy to realize distance calculation | CN / EN | done |
113 | findbug | Spring Boot integrated findbug quick start demo | CN / EN | done |
114 | groovy | Spring Boot integrated groovy quick start demo | CN / EN | done |
115 | kudu | Spring Boot integrated kudu quick start demo | CN / EN | done |
116 | syslog | Spring Boot integrated syslog quick start demo | CN / EN | done |
117 | Sftp | Spring Boot integrated SFTP quick start demo | CN / EN | done |
118 | Spring Batch | Spring Boot integrated Spring Batch quick start demo | CN / EN | done |
119 | starrocks | Spring Boot integrated starrocks quick start demo | CN / EN | done |
120 | xjar | Spring Boot integrated xjar quick start demo | CN / EN | done |
121 | canal | Spring Boot integrated canal quick start demo | CN / EN | done |
122 | mavenplugin | How to implement your first Maven plugin? | CN / EN | done |
123 | jmh | SpringBoot integrates jmh for benchmark performance testing | CN / EN | done |
124 | springnative | SpringBoot integrates GraalVM to create high-performance native images | CN / EN | done |
125 | Thumbnailator | springboot with Thumbnailator | CN / EN | done |
126 | Resilience4J | Spring Boot integrates Resilience4J to implement circuit breaker function | CN / EN | done |
127 | liquibase | Spring Boot integrated liquibase quick start demo | CN / EN | done |
128 | protobuf | Spring Boot integrated protobuf quick start demo | CN / EN | done |
129 | impala | Spring Boot implements jdbc access to impala | CN / EN | done |
130 | Seata | Spring Boot integrates Seata to implement distributed transactions based on AT mode | CN / EN | done |
131 | ip2region | Spring Boot integrates ip2region to implement ip whitelist | CN / EN | done |
132 | Annotation | How to customize annotations in Spring Boot? | CN / EN | done |
133 | Mask Data | springboot with Mask Data | CN / EN | done |
134 | tomcat | How does Spring Boot replace the default tomcat server? | CN / EN | done |
135 | sentinel | Spring Boot integrated sentinel quick start demo | CN / EN | done |
136 | Devtools | Spring Boot Integrates Devtools to Implement Hot Updates? | CN / EN | done |
137 | selenium | Spring Boot integrates selenium to automate testing | CN / EN | done |
138 | Interface Security | How Does Spring Boot Ensure Interface Security? | CN / EN | done |
139 | Puppeteer | Use Puppeteer to generate images from HTML web pages | CN / EN | done |
140 | opencc4j | Spring Boot integration opencc4j Quick Start Demo | CN / EN | done |
141 | Exceptions | How Does SpringBoot Handle Global Exceptions? | CN / EN | done |
142 | google login | SpringBoot integrated google login quick start demo | CN / EN | done |
143 | GZIP | Spring Boot enables GZIP compression | CN / EN | done |
144 | GZIP | How does Spring Boot compress Json and write it to redis? | CN / EN | done |
145 | Cross-Origin | How Does Spring Boot Solve Cross-Origin Problems? | CN / EN | done |
146 | Kubernetes | Spring Boot integrates the Kubernetes client to implement java API operations on k8s clusters | CN / EN | done |
147 | Stripe | Spring Boot integrated Stripe quick start demo | CN / EN | done |
148 | Google Authenticator | Spring Boot integrates Google Authenticator to implement MFA | CN / EN | done |
149 | License | Spring Boot implements License generation and verification | CN / EN | done |
150 | file | Spring Boot implements file upload and download | CN / EN | done |
151 | file | Spring Boot implements large file upload in chunks | CN / EN | done |
152 | aop | How to integrate AOP in Spring Boot? | CN / EN | done |
153 | file | Spring Boot implements fragmented download of large files | CN / EN | done |
154 | Tess4J | Spring Boot integrates Tess4J to implement OCR | CN / EN | done |
155 | Hazelcast Jet | Spring Boot integrates Hazelcast Jet quick start Demo | CN / EN | done |
156 | Mockito | Spring Boot integrated Mockito quick start demo | CN / EN | done |
157 | akka | Spring Boot integrated akka actor quick start demo | CN / EN | done |
158 | akka | Spring Boot integrated Akka Stream quick start demo | CN / EN | done |
159 | akka | Spring Boot integrated Akka remoting quick start demo | CN / EN | done |
160 | akka | Spring Boot integrated Akka Cluster quick start demo | CN / EN | done |
161 | dag | Spring Boot uses dag to speed up Spring beans initialization | CN / EN | done |
162 | LangChain | Spring Boot integrates LangChain to build a Rag Application | CN / EN | done |
163 | redis vector | Spring Boot integrates Redis vector database to realize similarity search | CN / EN | done |
164 | Milvus | Spring Boot integrated Milvus quick start demo | CN / EN | done |
165 | xss | Spring Boot uses filter to implement xss defense | CN / EN | done |
166 | Keycloak | Spring Boot integrated Keycloak quick start demo | CN / EN | done |
167 | encache | Spring Boot integrated encache quick start demo | CN / EN | done |
168 | RBloomFilter | Spring Boot integrated RBloomFilter quick start demo | CN / EN | done |
169 | DJL | Spring Boot integrates with DJL to classify images | CN / EN | done |
170 | Aviator | Spring Boot integrates with Aviator to verify parameters | CN / EN | done |
Remark
if the pom parent is as follows:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.1</version>
</parent>
which is based on Spring Boot 3.x and JDK 17 ,for example: The module(qwen、ai、sharding-jdbc、Timefold Solver、vaadin),
if the pom parent is as follows:
<parent>
<artifactId>springboot-demo</artifactId>
<groupId>com.et</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
which is based on Spring Boot 2.X and JDK 8
if you need some components to integrate with Spring Boot,tell me ,I will help you! you can also leave a message in issues.
🚀 About Me
I'm a full stack developer...