My Spring Boot Samples

汪正卿
2023-12-01

1.starters

a) Spring Boot application starters

NameDescriptionPom

spring-boot-starter

Core starter, including auto-configuration support, logging and YAML

Pom

spring-boot-starter-activemq

Starter for JMS messaging using Apache ActiveMQ

Pom

spring-boot-starter-amqp

Starter for using Spring AMQP and Rabbit MQ

Pom

spring-boot-starter-aop

Starter for aspect-oriented programming with Spring AOP and AspectJ

Pom

spring-boot-starter-artemis

Starter for JMS messaging using Apache Artemis

Pom

spring-boot-starter-batch

Starter for using Spring Batch

Pom

spring-boot-starter-cache

Starter for using Spring Framework’s caching support

Pom

spring-boot-starter-cloud-connectors

Starter for using Spring Cloud Connectors which simplifies connecting to services in cloud platforms like Cloud Foundry and Heroku

Pom

spring-boot-starter-data-cassandra

Starter for using Cassandra distributed database and Spring Data Cassandra

Pom

spring-boot-starter-data-cassandra-reactive

Starter for using Cassandra distributed database and Spring Data Cassandra Reactive

Pom

spring-boot-starter-data-couchbase

Starter for using Couchbase document-oriented database and Spring Data Couchbase

Pom

spring-boot-starter-data-couchbase-reactive

Starter for using Couchbase document-oriented database and Spring Data Couchbase Reactive

Pom

spring-boot-starter-data-elasticsearch

Starter for using Elasticsearch search and analytics engine and Spring Data Elasticsearch

Pom

spring-boot-starter-data-jpa

Starter for using Spring Data JPA with Hibernate

Pom

spring-boot-starter-data-ldap

Starter for using Spring Data LDAP

Pom

spring-boot-starter-data-mongodb

Starter for using MongoDB document-oriented database and Spring Data MongoDB

Pom

spring-boot-starter-data-mongodb-reactive

Starter for using MongoDB document-oriented database and Spring Data MongoDB Reactive

Pom

spring-boot-starter-data-neo4j

Starter for using Neo4j graph database and Spring Data Neo4j

Pom

spring-boot-starter-data-redis

Starter for using Redis key-value data store with Spring Data Redis and the Lettuce client

Pom

spring-boot-starter-data-redis-reactive

Starter for using Redis key-value data store with Spring Data Redis reactive and the Lettuce client

Pom

spring-boot-starter-data-rest

Starter for exposing Spring Data repositories over REST using Spring Data REST

Pom

spring-boot-starter-data-solr

Starter for using the Apache Solr search platform with Spring Data Solr

Pom

spring-boot-starter-freemarker

Starter for building MVC web applications using FreeMarker views

Pom

spring-boot-starter-groovy-templates

Starter for building MVC web applications using Groovy Templates views

Pom

spring-boot-starter-hateoas

Starter for building hypermedia-based RESTful web application with Spring MVC and Spring HATEOAS

Pom

spring-boot-starter-integration

Starter for using Spring Integration

Pom

spring-boot-starter-jdbc

Starter for using JDBC with the Tomcat JDBC connection pool

Pom

spring-boot-starter-jersey

Starter for building RESTful web applications using JAX-RS and Jersey. An alternative to spring-boot-starter-web

Pom

spring-boot-starter-jooq

Starter for using jOOQ to access SQL databases. An alternative to spring-boot-starter-data-jpa or spring-boot-starter-jdbc

Pom

spring-boot-starter-json

Starter for reading and writing json

Pom

spring-boot-starter-jta-atomikos

Starter for JTA transactions using Atomikos

Pom

spring-boot-starter-jta-bitronix

Starter for JTA transactions using Bitronix

Pom

spring-boot-starter-jta-narayana

Spring Boot Narayana JTA Starter

Pom

spring-boot-starter-mail

Starter for using Java Mail and Spring Framework’s email sending support

Pom

spring-boot-starter-mustache

Starter for building web applications using Mustache views

Pom

spring-boot-starter-quartz

Spring Boot Quartz Starter

Pom

spring-boot-starter-security

Starter for using Spring Security

Pom

spring-boot-starter-test

Starter for testing Spring Boot applications with libraries including JUnit, Hamcrest and Mockito

Pom

spring-boot-starter-thymeleaf

Starter for building MVC web applications using Thymeleaf views

Pom

spring-boot-starter-validation

Starter for using Java Bean Validation with Hibernate Validator

Pom

spring-boot-starter-web

Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container

Pom

spring-boot-starter-web-services

Starter for using Spring Web Services

Pom

spring-boot-starter-webflux

Starter for building WebFlux applications using Spring Framework’s Reactive Web support

Pom

spring-boot-starter-websocket

Starter for building WebSocket applications using Spring Framework’s WebSocket support

Pom

b) Spring Boot production starters

NameDescriptionPom

spring-boot-starter-actuator

Starter for using Spring Boot’s Actuator which provides production ready features to help you monitor and manage your application

Pom

c) Spring Boot technical starters

NameDescriptionPom

spring-boot-starter-jetty

Starter for using Jetty as the embedded servlet container. An alternative to spring-boot-starter-tomcat

Pom

spring-boot-starter-log4j2

Starter for using Log4j2 for logging. An alternative to spring-boot-starter-logging

Pom

spring-boot-starter-logging

Starter for logging using Logback. Default logging starter

Pom

spring-boot-starter-reactor-netty

Starter for using Reactor Netty as the embedded reactive HTTP server.

Pom

spring-boot-starter-tomcat

Starter for using Tomcat as the embedded servlet container. Default servlet container starter used by spring-boot-starter-web

Pom

spring-boot-starter-undertow

Starter for using Undertow as the embedded servlet container. An alternative to spring-boot-starter-tomcat

Pom

2.properties

Common application properties

3.samples

SampleDescription

spring-boot-sample-activemq

JMS consumer and producer using Apache ActiveMQ

spring-boot-sample-actuator

REST service with production-ready features

spring-boot-sample-actuator-log4j2

Production-ready features using log4j 2 for logging (instead of logback)

spring-boot-sample-actuator-noweb

Non-web application with production-ready features

spring-boot-sample-actuator-ui

Web UI example with production-ready features

spring-boot-sample-amqp

Message-oriented application using AMQP and RabbitMQ

spring-boot-sample-ant

Executable JAR build using Ant

spring-boot-sample-aop

Demonstrates explicit usage of Spring AOP

spring-boot-sample-atmosphere

Chat service built using Atmosphere

spring-boot-sample-batch

Define and run a Batch job in a few lines of code

spring-boot-sample-cache

Web application that uses Spring’s cache abstraction

spring-boot-sample-custom-layout

Creates custom Jar Layout

spring-boot-sample-data-cassandra

Stores data using Spring Data Cassandra

spring-boot-sample-data-couchbase

Stores data using Spring Data Couchbase

spring-boot-sample-data-elasticsearch

Stores data using Spring Data Elasticsearch

spring-boot-sample-data-jpa

Stores data using Spring Data JPA with Hibernate

spring-boot-sample-data-ldap

Stores data using Spring Data LDAP

spring-boot-sample-data-mongodb

Stores data using Spring Data MongoDB

spring-boot-sample-data-neo4j

Stores data using Spring Data Neo4j

spring-boot-sample-data-redis

Stores data using Spring Data Redis

spring-boot-sample-data-rest

RESTful service built using Spring Data REST

spring-boot-sample-data-solr

Stores data using Spring Data Solr

spring-boot-sample-devtools

Using DevTools for rapid application development

spring-boot-sample-flyway

Database migrations with Flyway

spring-boot-sample-hateoas

RESTful API built using Spring Hateoas

spring-boot-sample-integration

Integration application built using Spring Integration and its Java DSL

spring-boot-sample-jersey

RESTful service built using Jersey 2

spring-boot-sample-jersey1

RESTful service built using Jersey

spring-boot-sample-jetty

Embedded Jetty

spring-boot-sample-jetty-ssl

Embedded Jetty configured to use SSL

spring-boot-sample-jetty-jsp

Web application that uses JSP templates with Jetty

spring-boot-sample-jooq

Stores data using jOOQ

spring-boot-sample-jpa

Uses plain JPA (Hibernate)

spring-boot-sample-jta-atomikos

JTA transactions with Atomikos

spring-boot-sample-jta-bitronix

JTA transactions with Bitronix

spring-boot-sample-jta-jndi

JTA transactions using a TransactionManager and DataSource from JNDI

spring-boot-sample-jta-narayana

JTA transactions with Narayana

spring-boot-sample-junit-jupiter

Demonstrates JUnit Jupiter-based testing

spring-boot-sample-kafka

consumer and producer using Apache Kafka

spring-boot-sample-liquibase

Database migrations with Liquibase

spring-boot-sample-logback

Demonstrates Spring Boot’s custom Logback functionality configured in logback-spring.xml

spring-boot-sample-metrics-dropwizard

Demonstrates support for Dropwizard metrics

spring-boot-sample-metrics-opentsdb

Exports metrics to OpenTSDB

spring-boot-sample-metrics-redis

Exports metrics to Redis

spring-boot-sample-parent-context

Application that uses an ApplicationContext with a parent

spring-boot-sample-profile

Demonstrates some of Spring Framework’s @Profile capabilities

spring-boot-sample-property-validation

Demonstrates the usage of @ConfigurationProperties with a Spring Validator

spring-boot-sample-secure

Non-web application that uses Spring Security

spring-boot-sample-servlet

Web application with a "raw" Servlet returning plain text content

spring-boot-sample-session

Web Application that uses Spring Session to manage session data

spring-boot-sample-simple

Simple command line application

spring-boot-sample-test

Demonstrates Spring Boot’s testing capabilities

spring-boot-sample-testng

Demonstrates TestNG-based testing

spring-boot-sample-tomcat

Embedded Tomcat

spring-boot-sample-tomcat-jsp

Web application that uses JSP templates with Tomcat

spring-boot-sample-tomcat-multi-connectors

Web application that uses Tomcat configured with multiple connectors

spring-boot-sample-tomcat-ssl

Web application that uses Tomcat configured with SSL

spring-boot-sample-traditional

Traditional WAR packaging (but also executable using java -jar)

spring-boot-sample-undertow

Embedded Undertow

spring-boot-sample-undertow-ssl

Embedded Undertow configured to use SSL

spring-boot-sample-war

Web application packaged as a war file

spring-boot-sample-web-freemarker

Web application that uses FreeMarker templates

spring-boot-sample-web-groovy-templates

Web application that uses Groovy templates

spring-boot-sample-web-jsp

Web application that uses JSP templates

spring-boot-sample-web-method-security

Web application with Security configuration enabling global method security

spring-boot-sample-web-mustache

Web application that uses Mustache views

spring-boot-sample-web-secure

Web application with typical Security configuration enabling a login form

spring-boot-sample-web-secure-custom

Web application with custom Spring Security configuration

spring-boot-sample-web-secure-jdbc

Web application with Spring Security configured to use JDBC authentication

spring-boot-sample-web-static

Web application that serves static files

spring-boot-sample-web-ui

Web application with a basic UI built using Bootstrap and JQuery

spring-boot-sample-webservices

Simple contract-first SOAP web service with Spring Web Services

spring-boot-sample-websocket-jetty

WebSocket application that uses Jetty

spring-boot-sample-websocket-tomcat

WebSocket application that uses Tomcat

spring-boot-sample-websocket-undertow

WebSocket application that uses Undertow

spring-boot-sample-xml

Example show how Spring Boot can be mixed with traditional XML configuration (we generally recommend using Java @Configuration whenever possible

4.ex-samples(base on spring boot & primefaces)

Ref:https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/reference/html/

Ref:https://github.com/mbhybird/showcase

Ref:https://www.bysocket.com/?page_id=965

Ref:http://www.spring4all.com/article/558

 

转载于:https://www.cnblogs.com/ncore/p/8445028.html

 类似资料:

相关阅读

相关文章

相关问答