Skip to content

Latest commit

 

History

History
 
 

spring-boot-samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Spring Boot Samples

The following sample applications are provided:

Sample Description

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-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-secure-oauth2-actuator

RESTful service secured using OAuth2 and Actuator

spring-boot-sample-secure-oauth2

RESTful service secured using OAuth2

spring-boot-sample-secure-oauth2-resource

OAuth2 resource server

spring-boot-sample-servlet

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

spring-boot-sample-session-redis

Web Application that uses Spring Session to store session data in Redis

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

Web application with Spring Security configured to authenticate with GitHub using OAuth2

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