image:https://travis-ci.org/learning-spring-boot/learning-spring-boot-code.svg?branch=master["Build Status", link="https://travis-ci.org/learning-spring-boot/learning-spring-boot-code"]
== Learning Spring Boot
image::http://greglturnquist.com/wp-content/uploads/2014/11/3021OS_mockupcover_normal.png[float="right"]
NOTE: This code has been updated using the latest stable version of Spring Boot 1.3.
This is a standing repo of the code for http://greglturnquist.com/learning-spring-boot[_Learning Spring Boot_]. While the book explains how to use the gradle wrapper, the code here already has the gradle wrapper set up. That means that for http://gradle.org/[gradle-based] apps, you can immediately run them assuming you have Java installed on your box.
NOTE: Some bits of the code have had significant improvement, such as chapter 3's usage of JMS APIs added to Spring Framework 4.1. Also, I have updated all the code to now use @SpringBootApplication
instead of @EnableAutoConfiguration
, etc. So, some bits of the book are obsolete in their explanations. But in total, the code is robust and the concepts still solid.
CAUTION: No have Java? I suggest you download and install http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html[Java 8 Development Kit (JDK)]. The book is based on using Java 8 to build and run everything.
While not evident when you read the book, each chapter has a progressive approach regarding code. At various phases through each chapter, new features are added. To snapshot that, I create a separate app (using numbering) in the relevant chapter. To see the final version of the app, simply jump to the last app.
If you are looking for the details explaining each app, please https://www.packtpub.com/application-development/learning-spring-boot[order a copy of the book].
It may sound presumptuous, but I have high confidence in the fidelity of the code. I developed each version of each chapter's app inside my IDE and ran it repeatedly. Since I http://blog.greglturnquist.com/2014/05/asciidoc-springboot-packtpub-awesome-tool-chain.html[wrote the entire book using Asciidoctor], I simply imported the source code directly into the manuscript. The risk at hand is not importing some aspect of the app.
Stay tuned. In the meantime, http://www.urbandictionary.com/define.php?term=share%20and%20enjoy[share and enjoy]!
== Licensing
The code in this project is licensed http://apache.org/licenses/LICENSE-2.0.txt[Apache License v2.0].
== Contributions
Please read the related link:CONTRIBUTING.adoc[CONTRIBUTING] document if you are interested in making contributions.