The following sample applications are provided:
Sample | Description |
---|---|
JMS consumer and producer using Apache ActiveMQ |
|
REST service with production-ready features |
|
Production-ready features using log4j 2 for logging (instead of logback) |
|
Non-web application with production-ready features |
|
Web UI example with production-ready features |
|
Message-oriented application using AMQP and RabbitMQ |
|
Executable JAR build using Ant |
|
Demonstrates explicit usage of Spring AOP |
|
Chat service built using Atmosphere |
|
Define and run a Batch job in a few lines of code |
|
Web application that uses Spring’s cache abstraction |
|
Stores data using Spring Data Cassandra |
|
Stores data using Spring Data Couchbase |
|
Stores data using Spring Data Elasticsearch |
|
Stores data using Spring Data GemFire |
|
Stores data using Spring Data JPA with Hibernate |
|
Stores data using Spring Data MongoDB |
|
Stores data using Spring Data Neo4j |
|
Stores data using Spring Data Redis |
|
RESTful service built using Spring Data REST |
|
Stores data using Spring Data Solr |
|
Using DevTools for rapid application development |
|
Database migrations with Flyway |
|
RESTful API built using Spring Hateoas |
|
Demonstrates how to use Hibernate 4 |
|
Demonstrates how to use Hibernate 5.2 |
|
Message-oriented application using HornetQ |
|
Demonstrates Actuator’s hypermedia support, including HAL Browser |
|
Demonstrates Actuator’s hypermedia support using GSON in place of Jackson |
|
Demonstrates Actuator’s hypermedia support alongside Spring Data JPA and Spring Data REST |
|
Demonstrates Actuator’s hypermedia support alongside a static web UI |
|
Integration application built using Spring Integration and its Java DSL |
|
RESTful service built using Jersey 2 |
|
RESTful service built using Jersey |
|
Embedded Jetty |
|
Embedded Jetty configured to use SSL |
|
Web application that uses JSP templates with Jetty |
|
Embedded Jetty 8 |
|
Embedded Jetty 8 SSL |
|
Embedded Jetty 9.2 |
|
Stores data using jOOQ |
|
Uses plain JPA (Hibernate) |
|
JTA transactions with Atomikos |
|
JTA transactions with Bitronix |
|
JTA transactions using a |
|
JTA transactions with Narayana |
|
Database migrations with Liquibase |
|
Demonstrates Spring Boot’s custom Logback functionality configured in logback-spring.xml |
|
Demonstrates support for Dropwizard metrics |
|
Exports metrics to OpenTSDB |
|
Exports metrics to Redis |
|
Application that uses an |
|
Demonstrates some of Spring Framework’s |
|
Demonstrates the usage of |
|
Non-web application that uses Spring Security |
|
RESTful service secured using OAuth2 |
|
OAuth2 resource server |
|
Web application with a "raw" |
|
Web Application that uses Spring Session to store session data in Redis |
|
Simple command line application |
|
Demonstrates Spring Boot’s testing capabilities |
|
Demonstrates TestNG-based testing |
|
Embedded Tomcat |
|
Web application that uses JSP templates with Tomcat |
|
Web application that uses Tomcat configured with multiple connectors |
|
Web application that uses Tomcat configured with SSL |
|
Web application that uses JSP templates with Tomcat 7 |
|
Web application that uses Tomcat 7 configured with SSL |
|
Web application that uses Tomcat 8.0 configured with SSL |
|
Traditional WAR packaging (but also executable using |
|
Embedded Undertow |
|
Embedded Undertow configured to use SSL |
|
Non-web application that uses Velocity templates |
|
Web application packaged as a war file |
|
Web application that uses FreeMarker templates |
|
Web application that uses Groovy templates |
|
Web application that uses JSP templates |
|
Web application with Security configuration enabling global method security |
|
Web application that uses Mustache views |
|
Web application with typical Security configuration enabling a login form |
|
Web application with custom Spring Security configuration |
|
Web application with Spring Security configured to authenticate with GitHub using OAuth2 |
|
Web application with Spring Security configured to use JDBC authentication |
|
Web application that serves static files |
|
Web application with a basic UI built using Bootstrap and JQuery |
|
Web application that uses Velocity templates |
|
Simple contract-first SOAP web service with Spring Web Services |
|
WebSocket application that uses Jetty |
|
WebSocket application that uses Tomcat |
|
WebSocket application that uses Undertow |
|
Example show how Spring Boot can be mixed with traditional XML configuration (we
generally recommend using Java |