You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-samples
Andy Wilkinson 2085a5b0cf Work around the behaviour change in latest Spring 4.2 snapshots
The changes made in spring-projects/spring-framework@e403aefe cause
SampleTomcatTwoConnectorsApplication to fail to launch. The port bean,
typed as an int, is coerced into an Integer when the bean’s created. The
port() method is then called, and the proxy’s bean method interceptor
complains as it’s expecting the port bean to be an int but it’s actually
an Integer. Changing the port() bean method’s return type to Integer
works around the problem.
10 years ago
..
spring-boot-sample-activemq Polish spring-boot-sample-activemq 10 years ago
spring-boot-sample-actuator Upgrade Gradle plugin’s ID so it’s suitable for the Plugin Portal 10 years ago
spring-boot-sample-actuator-log4j Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-actuator-log4j2 Merge branch '1.1.x' into 1.2.x 10 years ago
spring-boot-sample-actuator-noweb Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-actuator-ui Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-amqp Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-aop Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-atmosphere Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-batch Upgrade to Spring Batch 3.0.4 snapshots 10 years ago
spring-boot-sample-data-elasticsearch Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-data-gemfire Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-data-jpa Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-data-mongodb Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-data-redis Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-data-rest Upgrade to Spring Data Fowler RELEASE 10 years ago
spring-boot-sample-data-solr Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-flyway Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-hateoas Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-hornetq Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-integration Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jersey Merge branch '1.2.x' 10 years ago
spring-boot-sample-jersey1 Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jetty Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jetty-ssl Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jetty8 Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jetty8-ssl Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jpa Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jta-atomikos Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jta-bitronix Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-jta-jndi Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-liquibase Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-parent-context Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-profile Upgrade Gradle plugin’s ID so it’s suitable for the Plugin Portal 10 years ago
spring-boot-sample-secure Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-servlet Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-simple Upgrade Gradle plugin’s ID so it’s suitable for the Plugin Portal 10 years ago
spring-boot-sample-testng Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-tomcat Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-tomcat-jsp Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-tomcat-multi-connectors Work around the behaviour change in latest Spring 4.2 snapshots 10 years ago
spring-boot-sample-tomcat-ssl Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-tomcat7-jsp Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-traditional Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-undertow Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-undertow-ssl Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-velocity Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-freemarker Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-groovy-templates Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-jsp Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-method-security Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-mustache Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-secure Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-secure-custom Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-secure-jdbc Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-web-static Upgrade Gradle plugin’s ID so it’s suitable for the Plugin Portal 10 years ago
spring-boot-sample-web-ui Upgrade Gradle plugin’s ID so it’s suitable for the Plugin Portal 10 years ago
spring-boot-sample-web-velocity Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-websocket-jetty Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-websocket-tomcat Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-websocket-undertow Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-ws Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
spring-boot-sample-xml Move master to 1.3.0.BUILD-SNAPSHOT 10 years ago
README.adoc Add link to activemq sample. 10 years ago
pom.xml add spring-boot-sample-activemq 10 years ago

README.adoc

 The following java samples are provided:

* link:spring-boot-sample-simple[spring-boot-sample-simple]
  -- A simple command line application
* link:spring-boot-sample-tomcat[spring-boot-sample-tomcat]
  --  Embedded Tomcat
* link:spring-boot-sample-jetty[spring-boot-sample-jetty]
  -- Embedded Jetty
* link:spring-boot-sample-activemq[spring-boot-sample-activemq]
  -- Simple JMS consumer and producer using Apache ActiveMQ
* link:spring-boot-sample-actuator[spring-boot-sample-actuator]
  -- Simple REST service with production features
* link:spring-boot-sample-actuator-ui[spring-boot-sample-actuator-ui]
  -- A web UI example with production features
* link:spring-boot-sample-actuator-noweb[spring-boot-sample-actuator-noweb]
  -- A production features sample with no web application
* link:spring-boot-sample-actuator-log4j[spring-boot-sample-actuator-log4j]
  -- A production features sample using log4j for logging (instead of logback)
* link:spring-boot-sample-web-ui[spring-boot-sample-web-ui]
  -- A thymeleaf web application
* link:spring-boot-sample-web-static[spring-boot-sample-web-static]
  -- A web application serving static files
* link:spring-boot-sample-web-freemarker[spring-boot-sample-web-freemarker]
  -- A web application using Freemarker templates
* link:spring-boot-sample-web-velocity[spring-boot-sample-web-velocity]
  -- A web application using Velocity templates
* link:spring-boot-sample-web-groovy-templates[spring-boot-sample-web-groovy-templates]
  -- A web application using native Groovy templates
* link:spring-boot-sample-web-jsp[spring-boot-sample-web-jsp]
  -- A web application using JSP templates
* link:spring-boot-sample-web-tomcat8-jsp[spring-boot-sample-tomcat8-jsp]
  -- A web application using JSP templates with Tomcat 8
* link:spring-boot-sample-web-tomcat-multi-connectors[spring-boot-sample-tomcat-multi-connectors]
  -- A web application using multiple connectors in tomcat, showing how to customize the Tomcat server
* link:spring-boot-sample-web-secure[spring-boot-sample-web-secure]
  -- A web application with typical Security configuration enabling a login form
* link:spring-boot-sample-web-method-security[spring-boot-sample-web-method-security]
  -- A web application with Security configuration enabling global method security
* link:spring-boot-sample-secure[spring-boot-sample-secure]
  -- example showing Spring Security in a non-web application
* link:spring-boot-sample-servlet[spring-boot-sample-servlet]
  -- example showing a "raw" `Servlet` returning plaintext content
* link:spring-boot-sample-ws[spring-boot-sample-ws]
  -- A simple contract-first SOAP web service with Spring Web Services
* link:spring-boot-sample-websocket[spring-boot-sample-websocket]
  -- A web application with Websocket support on the client and server
* link:spring-boot-sample-flyway[spring-boot-sample-flyway]
  -- Example showing database migrations with Flyway
* link:spring-boot-sample-liquibase[spring-boot-sample-liquibase]
  -- Example showing database migrations with Liquibase
* link:spring-boot-sample-amqp[spring-boot-sample-amqp]
  -- Example showing message-oriented application using RabbitMQ
* link:spring-boot-sample-hornetq[spring-boot-sample-hornetq]
  -- Example showing message-oriented application using HornetQ
* link:spring-boot-sample-batch[spring-boot-sample-batch]
  -- Define and run a Batch job in a few lines of code
* link:spring-boot-sample-data-jpa[spring-boot-sample-data-jpa]
  -- Spring Data JPA + Hibernate + HSQLDB
* link:spring-boot-sample-data-mongodb[spring-boot-sample-data-mongodb]
  -- Spring Data Mongo repositories
* link:spring-boot-sample-data-solr[spring-boot-sample-data-solr]
  -- Spring Data Solr repositories
* link:spring-boot-sample-data-redis[spring-boot-sample-data-redis]
  -- Simple usage of Spring Data Redis
* link:spring-boot-sample-data-rest[spring-boot-sample-data-rest]
  -- Crud repositories exposed as REST endpoints
* link:spring-boot-sample-integration[spring-boot-sample-integration]
  -- A spring integration application
* link:spring-boot-sample-profile[spring-boot-sample-profile]
  -- example showing Spring's `@profile` support
* link:spring-boot-sample-parent-context[spring-boot-sample-parent-context]
  -- example showing an `ApplicationContext` with a parent
* link:spring-boot-sample-aop[spring-boot-sample-aop]
  -- shows explicit usage of Spring AOP
* link:spring-boot-sample-traditional[spring-boot-sample-traditional]
  -- shows more traditional WAR packaging  (but also executable using `java -jar`)
* link:spring-boot-sample-xml[spring-boot-sample-xml]
  -- Example show how Spring Boot can be mixed with traditional XML configuration (we
  generally recommend using Java `@Configuration` whenever possible)