Key FeaturesGet up to date with the defining characteristics of Spring Boot 2.0 in Spring Framework 5Learn to perform Reactive programming with SpringBootLearn about developer tools, AMQP messaging, WebSockets, security, MongoDB data access, REST, and moreBook DescriptionSpring Boot provides a variety of features that address today's business needs along with today's scalable requirements. In this book, you will learn how to leverage powerful databases and Spring Boot's state-of-the-art WebFlux framework. This practical guide will help you get up and running with all the latest features of Spring Boot, especially the new Reactor-based toolkit.
The book starts off by helping you build a simple app, then shows you how to bundle and deploy it to the cloud. From here, we take you through reactive programming, showing you how to interact with controllers and templates and handle data access. Once you're done, you can start writing unit tests, slice tests, embedded container tests, and even autoconfiguration tests.
We go into detail about developer tools, AMQP messaging, WebSockets, security, and deployment. You will learn how to secure your application using both routes and method-based rules. By the end of the book, you'll have built a social media platform from which to apply the lessons you have learned to any problem. If you want a good understanding of building scalable applications using the core functionality of Spring Boot, this is the book for you.
What you will learnCreate powerful, production-grade applications and services with minimal fussSupport multiple environments with one artifact, and add production-grade support with featuresFind out how to tweak your apps through different propertiesUse custom metrics to track the number of messages published and consumedEnhance the security model of your appsMake use of reactive programming in Spring BootBuild anything from lightweight unit tests to fully running embedded web container integration testsAbout the AuthorGreg L. Turnquist has been a software professional since 1997. In 2002, he joined the senior software team that worked on Harris' $3.5 billion FAA telco program, architecting mission-critical enterprise apps while managing a software team. He provided after-hours support to a nation-wide system and is no stranger to midnight failures and software triages. In 2010, he joined the SpringSource division of VMware, which was spun off into Pivotal in 2013.
As a test-bitten script junky, Java geek, and JavaScript Padawan, he is a member of the Spring Data team and the lead for Spring Session MongoDB. He has made key contributions to Spring Boot, Spring HATEOAS, and Spring Data REST while also serving as editor-at-large for Spring's Getting Started Guides.
Greg wrote technical best sellers Python Testing Cookbook and Learning Spring Boot, First Edition, for Packt. When he isn't slinging code, Greg enters the world of magic and cross swords, having written the speculative fiction action and adventure novel, Darklight.
He completed his master's degree in computer engineering at Auburn University and lives in the United States with his family.
Table of ContentsQuick Start with JavaReactive Web with Spring BootReactive Data Access with Spring BootTesting with Spring BootDeveloper Tools for Spring Boot AppsAMQP Messaging with Spring BootMic
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.
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.
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.
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.
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.
Overall a good read and includes some useful tips and tricks. The book would have been better if it contained a more complete examples and some unit tests.