Bootstrap

一个Spring Boot demo的各种场景集成案例

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 numberModule nameModule descriptiondocsstatus
1demoSpringboot minimalist demoCN / ENdone
2redisSpring Boot integrated Redis quick start demoCN / ENdone
3hanlpSpring Boot integrated hanlp quick start demoCN / ENdone
4mysqlSpring Boot integrated MySQL quick start demoCN / ENdone
5minioSpring Boot integrated Minio quick start demoCN / ENdone
6elasticsearchSpring Boot integrated ElasticSearch quick start demoCN / ENdone
7rocketmqSpring Boot integrated rocketmq quick start demoCN / ENdone
8graylogSpring Boot integrated graylog quick start demoCN / ENdone
9mongodbSpring Boot integrated mongodb quick start demoCN / ENdone
10prometheusSpring Boot integrated prometheus quick start demoCN / ENdone
11kafakaSpring Boot integrated kafka quick start demoCN / ENdone
12nacosSpring Boot integrated nacos quick start demoCN / ENdone
13xxl-jobSpring Boot integrated xxl-job quick start demoCN / ENdone
14emailSpring Boot integrated mail quick start demoCN / ENdone
15logbackSpring Boot integrates logback to print colored logsCN / ENdone
16dockerSpring Boot integrated docker quick start demoCN / ENdone
17flywaySpring Boot integrated flyway quick start demoCN / ENdone
18webSocketSpring Boot integrated websocket quick start demoCN / ENdone
19neo4jSpring Boot integrates neo4j to realize simple knowledge graphCN / ENdone
20flinkSpring Boot integrated flink quick start demoCN / ENdone
21graalvm-jsSpring Boot integrated GraalVM js engine quick start demoCN / ENdone
22pythonSpring Boot integrated python engine quick start demoCN / ENdone
23hazelcastSpring Boot integrates hazelcast to implement distributed cachingCN / ENdone
24mapstructSpring Boot integrated mapstruct quick start guideCN / ENdone
25jpaSpring Boot integrated JPA quick start demoCN / ENdone
26mybatis-plusspringboot with mybatis-plusCN / ENdone
27quartzspringboot with quartzCN / ENdone
28rabbitmqspringboot with rabbitmqCN / ENdone
29sessionspringboot with sessionCN / ENdone
30testSpring Boot Unit Test Quick Start DemoCN / ENdone
31oauth2Spring Boot integrated oauth2 quick start demoCN / ENdone
32swaggerSpring Boot integrated Swagger quick start demoCN / ENdone
33druidSpring Boot integrated Ldap quick start demoCN / ENdone
34ldapSpring Boot integrated Ldap quick start demoCN / ENdone
35zookeeperSpring Boot integrated zookeeper quick start demoCN / ENdone
36activitiSpring Boot integrated activiti quick start demoCN / ENdone
37asyncSpring Boot integrated @Async quick start demoCN / ENdone
38dubbopring Boot integrated dubbo quick start demoCN / ENdone
39dynamic-datasourcespringboot with dynamic-datasourceCN / ENdone
40httpsSpring Boot integrated Https quick start demoCN / ENdone
41securitySpring Boot Integrated Security Quick Start DemoCN / ENdone
42shiroSpring Boot integrated Shiro quick start demoCN / ENdone
43sharding-jdbcSpring Boot integrated sharding-jdbc quick start demoCN / ENdone
44freemakerspringboot with freemakerCN / ENdone
45thymeleafSpring Boot integrated thymeleaf quick start demoCN / ENdone
46gemfireSpring Boot integrated geode quick start demoCN / ENdone
47jacocoSpring Boot integrates jacoco to implement unit test coverage statisticsCN / ENdone
48JasyptSpring Boot integrated jasypt quick start demoCN / ENdone
49checkstyleSpring Boot integrated checkstyle quick start demoCN / ENdone
50CaptchaSpring Boot integrates AJ-Captcha to implement sliding verification code functionCN / ENdone
51SpringRetrySpring Boot integrated Spring Retry quick start demoCN / ENdone
52nettySpring Boot integrates netty to implement websocket communicationCN / ENdone
53spring boot starterHow does Spring Boot customize its own Starter component?CN / ENdone
54debeziumSpring Boot integrated Debezium quick start demoCN / ENdone
55qrcodeSpring Boot integrates zxing to realize the function of generating QR codeCN / ENdone
56easypoiSpring Boot integrated easypoi quick start demoCN / ENdone
57api-versionSpring Boot API Multi-version Quick Start DemoCN / ENdone
58jwtSpring Boot integrated JWT quick start demoCN / ENdone
59JSchSpring Boot integrated JSch quick start demoCN / ENdone
60atomikosSpring Boot integrated atomikos quick start demoCN / ENdone
61fastdfsSpring Boot integrated fastdfs quick start demoCN / ENdone
62Chronicle QueueSpring Boot integrated chronicle queue quick start demo...CN / ENdone
63hikariSpring Boot integrated hikari quick start demoCN / ENdone
64itextpdfSpring Boot integrates itext to realize the function of generating PDF from htmlCN / ENdone
65disruptorSpring Boot integrated disruptor quick start demoCN / ENdone
66zipkinSpring Boot integrated zipkin quick start demoCN / ENdone
67ContentNegotiationSpring Boot Content Negotiation Quick Start DemoCN / ENdone
68GraphQLSpring Boot integrated Graphql quick start demoCN / ENdone
69postgresSpring Boot integrates Debezium to achieve postgres incremental synchronizationCN / ENdone
70webfluxSpring Boot integrated webflux quick start demoCN / ENdone
71posterSpring Boot integrated easyposter quick start demoCN / ENdone
72AISpring Boot integrates Spring AI to quickly access openAICN / ENdone
73grpcSpring Boot integrated grpc quick start demoCN / ENdone
74StateMachineSpring Boot integrated statemachine quick start demoCN / ENdone
75pf4jSpring Boot integrates pf4j to realize plug-in development functionCN / ENdone
76rmiSpring Boot integrated rmi quick start demoCN / ENdone
77sitemapSpring Boot integrates sitemapgen4j to generate website mapsCN / ENdone
78generatespringboot with generateCN / ENdone
79profile multi envspringboot with profileCN / ENdone
80OlingoSpring Boot integrated olingo quick start demoCN / ENdone
81AtomixSpring Boot integrated Atomix quick start demoCN / ENdone
82Deeplearning4jSpring Boot integrates DeepLearning4j to realize image digital recognitionCN / ENdone
83DroolsSpring Boot integrated drools quick start demoCN / ENdone
84web serviceSpring Boot integrated webservice quick start demoCN / ENdone
85Spring MobileSpring Boot integrated Spring Mobile quick start demoCN / ENdone
86BlockchainSpring Boot integrated BlockChain quick start demoCN / ENdone
87jsoupSpring Boot integrates jsoup to implement html parsingCN / ENdone
88Spring Task SchedulerSpring Boot integrates Spring Task SchedulerCN / ENdone
89TensorflowSpring Boot integrates tensorflow to realize image detection serviceCN / ENdone
90XStreamSpring Boot integrated xstream quick start demoCN / ENdone
91WebRTCSpring Boot integrates websocket to implement webrtc functionCN / ENdone
92vavrSpring Boot integrated vavr quick start demoCN / ENdone
93VaadinSpring Boot integrated vaadin quick start demoCN / ENdone
94timefold-solverSpring Boot integrates Timefold Solver to implement course schedule arrangementCN / ENdone
95ANTLRSpring Boot integrates antlr to implement lexical and grammatical analysisCN / ENdone
96TikaSpring Boot integrates tika to convert word to htmlCN / ENdone
97tablesawSpring Boot integrated tablesaw plug-in quick start demoCN / ENdone
98pmdSpring Boot integrated pmd plug-in quick start demoCN / ENdone
99GeoToolsSpring Boot integrated GeoTools quick start demoCN / ENdone
100Spring ShellSpring Boot integrated Spring Shell quick start demoCN / ENdone
101PicocliSpring Boot integrated Picocli quick start demoCN / ENdone
102tidbSpring Boot integrated tidb quick start demoCN / ENdone
103testcontainersSpring Boot integrated testcontainers quick start demoCN / ENdone
104validationSpring Boot integrates validation to implement parameter verificationCN / ENdone
105SpELSpring Boot integrated SpEL quick start demoCN / ENdone
106bannerSpring Boot integrated Banner quick start demoCN / ENdone
107rssSpring Boot integrated rss quick start demoCN / ENdone
108sseSpring Boot integrated freemaker quick start demoCN / ENdone
109Qwen1.5-7B-ChatSpring Boot integrates qwen:0.5b to implement conversation functionCN / ENdone
111hanaSpring Boot integrated HANA quick start demoCN / ENdone
112geodesySpring Boot integrates geodesy to realize distance calculationCN / ENdone
113findbugSpring Boot integrated findbug quick start demoCN / ENdone
114groovySpring Boot integrated groovy quick start demoCN / ENdone
115kuduSpring Boot integrated kudu quick start demoCN / ENdone
116syslogSpring Boot integrated syslog quick start demoCN / ENdone
117SftpSpring Boot integrated SFTP quick start demoCN / ENdone
118Spring BatchSpring Boot integrated Spring Batch quick start demoCN / ENdone
119starrocksSpring Boot integrated starrocks quick start demoCN / ENdone
120xjarSpring Boot integrated xjar quick start demoCN / ENdone
121canalSpring Boot integrated canal quick start demoCN / ENdone
122mavenpluginHow to implement your first Maven plugin?CN / ENdone
123jmhSpringBoot integrates jmh for benchmark performance testingCN / ENdone
124springnativeSpringBoot integrates GraalVM to create high-performance native imagesCN / ENdone
125Thumbnailatorspringboot with ThumbnailatorCN / ENdone
126Resilience4JSpring Boot integrates Resilience4J to implement circuit breaker functionCN / ENdone
127liquibaseSpring Boot integrated liquibase quick start demoCN / ENdone
128protobufSpring Boot integrated protobuf quick start demoCN / ENdone
129impalaSpring Boot implements jdbc access to impalaCN / ENdone
130SeataSpring Boot integrates Seata to implement distributed transactions based on AT modeCN / ENdone
131ip2regionSpring Boot integrates ip2region to implement ip whitelistCN / ENdone
132AnnotationHow to customize annotations in Spring Boot?CN / ENdone
133Mask Dataspringboot with Mask DataCN / ENdone
134tomcatHow does Spring Boot replace the default tomcat server?CN / ENdone
135sentinelSpring Boot integrated sentinel quick start demoCN / ENdone
136DevtoolsSpring Boot Integrates Devtools to Implement Hot Updates?CN / ENdone
137seleniumSpring Boot integrates selenium to automate testingCN / ENdone
138Interface SecurityHow Does Spring Boot Ensure Interface Security?CN / ENdone
139PuppeteerUse Puppeteer to generate images from HTML web pagesCN / ENdone
140opencc4jSpring Boot integration opencc4j Quick Start DemoCN / ENdone
141ExceptionsHow Does SpringBoot Handle Global Exceptions?CN / ENdone
142google loginSpringBoot integrated google login quick start demoCN / ENdone
143GZIPSpring Boot enables GZIP compressionCN / ENdone
144GZIPHow does Spring Boot compress Json and write it to redis?CN / ENdone
145Cross-OriginHow Does Spring Boot Solve Cross-Origin Problems?CN / ENdone
146KubernetesSpring Boot integrates the Kubernetes client to implement java API operations on k8s clustersCN / ENdone
147StripeSpring Boot integrated Stripe quick start demoCN / ENdone
148Google AuthenticatorSpring Boot integrates Google Authenticator to implement MFACN / ENdone
149LicenseSpring Boot implements License generation and verificationCN / ENdone
150fileSpring Boot implements file upload and downloadCN / ENdone
151fileSpring Boot implements large file upload in chunksCN / ENdone
152aopHow to integrate AOP in Spring Boot?CN / ENdone
153fileSpring Boot implements fragmented download of large filesCN / ENdone
154Tess4JSpring Boot integrates Tess4J to implement OCRCN / ENdone
155Hazelcast JetSpring Boot integrates Hazelcast Jet quick start DemoCN / ENdone
156MockitoSpring Boot integrated Mockito quick start demoCN / ENdone
157akkaSpring Boot integrated akka actor quick start demoCN / ENdone
158akkaSpring Boot integrated Akka Stream quick start demoCN / ENdone
159akkaSpring Boot integrated Akka remoting quick start demoCN / ENdone
160akkaSpring Boot integrated Akka Cluster quick start demoCN / ENdone
161dagSpring Boot uses dag to speed up Spring beans initializationCN / ENdone
162LangChainSpring Boot integrates LangChain to build a Rag ApplicationCN / ENdone
163redis vectorSpring Boot integrates Redis vector database to realize similarity searchCN / ENdone
164MilvusSpring Boot integrated Milvus quick start demoCN / ENdone
165xssSpring Boot uses filter to implement xss defenseCN / ENdone
166KeycloakSpring Boot integrated Keycloak quick start demoCN / ENdone
167encacheSpring Boot integrated encache quick start demoCN / ENdone
168RBloomFilterSpring Boot integrated RBloomFilter quick start demoCN / ENdone
169DJLSpring Boot integrates with DJL to classify imagesCN / ENdone
170AviatorSpring Boot integrates with Aviator to verify parametersCN / ENdone

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...

Sponsor this project

Sponsor @Harries on GitHub Sponsors · GitHub

;