Jump to ratings and reviews
Rate this book

Learning Spring Boot

Rate this book
Learn how to use Spring Boot to build apps faster than ever beforeAbout This BookCreate Spring-powered, production-grade applications and services with minimal fussSupport multiple environments with one artifact, and add production-grade support with features like custom metrics to track the number of messages published and consumedEach chapter introduces a different area that Spring Boot tackles and explains how to tweak your apps through different propertiesWho This Book Is ForThis book is for both novice developers in general and experienced Spring developers. It will teach you how to override Spring Boot's opinions and frees you from the need to define complicated configurations.

What You Will LearnUse Spring Boot's CLI tool to build rapid Groovy-based apps without even touching a build toolCraft a Spring JMS app with ActiveMQWork with multiple database configurations using Spring Data JPA in development and production as well as Spring Data MongoDBFind out exactly what beans Spring Boot is creating for you, and why it decided to do soSecure your app at the URL and method levelsUse Spring Data REST to export your Spring Data repositories to support independent clientsConfigure the embedded Tomcat servlet engine to use SSL and see how it automatically uses HSTSIn DetailThis practical, accessible guide helps you get up and running fast with Spring Boot. This book starts by crafting a Spring MVC application using the Spring stack on top of Apache Tomcat, with little configuration on from your end. You will also learn how to write both JUnit and Spock test cases. Then, you'll pull back the curtain and see how Spring Boot works by using Spring Messaging (JMS and AMQP) as well as creating custom metrics, custom information, and custom CLI commands aimed at production environments. In the last two chapters, you'll see how Spring Boot supports everyday situations we all deal with. You will learn how to create multiple configurations inside your app that can interact with different data stores.

By the end of the book, you'll have a good understanding of how Spring Boot works, how it manages low-level infrastructure, and how to start out production-grade apps with built-in support tools as well as custom ones.

254 pages, Kindle Edition

Published November 27, 2014

51 people are currently reading
74 people want to read

About the author

Greg L. Turnquist

15 books11 followers
Greg is a test-bitten script junky. He is a member of the Spring team at Pivotal. He works on Spring Data REST, Spring Boot and other Spring projects, while also working as an editor-at-large of Spring's Getting Started guides. He launched the Nashville JUG in 2010. He created Spring Python and wrote "Spring Python 1.1", "Python Testing Cookbook", and "Learning Spring Boot". He has been a Spring fan for years.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
10 (18%)
4 stars
18 (33%)
3 stars
18 (33%)
2 stars
6 (11%)
1 star
1 (1%)
Displaying 1 - 5 of 5 reviews
Profile Image for Miloš.
69 reviews3 followers
February 25, 2020
An entry-level book for Spring Boot; although the book has a lot of examples, somehow I feel that most of them are overly simplistic and that going through the basic Boot examples both via tutorials or the reference documentation would have been a better use of my time.
Profile Image for Bartek.
72 reviews13 followers
February 19, 2015
Very nice book for all those people who want to learn something about Spring boot.

Of course is not a book for people who don't know java and spring. You should have some knowledge about fundamentals of Spring Framework.

What you will know after reading?

How to setup, configure and run spring boot. It is obvious ;) But in my opinion way how author presents that is very good. It simple, logical and cover most of common cases (and wrote some words about exceptional cases). You can treat as a "manual by example".

Finally I found some small mistakes and inconsistency in examples but as I wrote at beginning you should know about spring and then you can easily recognize this issues.
1 review
December 21, 2014
A nice book to get started on Spring Boot.

Java chapter needs a version of spring-social-github which is not directly available : I had to download the source code and build it locally to make it work.

I really miss some section about Spring Batch, but overall, liked it.

Profile Image for Tomy Jaya.
27 reviews4 followers
May 23, 2016
Unfortunately, reading this book is not any better than reading the official Spring Boot documentation. It's a good, but justifiably unnecessary introduction to the awesome technology.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.