Learning Spring Boot 2.0 2nd Edition

Simplify the development of lightning fast applications based on microservices and reactive

Published: November 3rd, 2017
ISBN: 978-1786463784
Packt Publishing Ltd.

Key Features

  • Get up to date with the defining characteristics of Spring Boot 2.0 in Spring Framework 5
  • Learn to perform Reactive programming with SpringBoot
  • Learn about developer tools, AMQP messaging, WebSockets, security, MongoDB data access, REST, and more

Book Description

Spring 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 learn

  • Create powerful, production-grade applications and services with minimal fuss
  • Support multiple environments with one artifact, and add production-grade support with features
  • Find out how to tweak your apps through different properties
  • Use custom metrics to track the number of messages published and consumed
  • Enhance the security model of your apps
  • Make use of reactive programming in Spring Boot
  • Build anything from lightweight unit tests to fully running embedded web container integration tests

Table of Contents

  1. Quick Start with Java
  2. Reactive Web with Spring Boot
  3. Reactive Data Access with Spring Boot
  4. Testing with Spring Boot
  5. Developer Tools for Spring Boot Apps
  6. AMQP Messaging with Spring Boot
  7. Microservices with Spring Boot
  8. WebSockets with Spring Boot
  9. Securing Your App with Spring Boot
  10. Taking your app to production with Spring Boot

Greg L. Turnquist worked on the Spring team for over thirteen years and is a technical content engineer at Cockroach Labs. He was the lead developer for Spring Data JPA, Spring Web Services, and a committer to Spring HATEOAS, Spring Data, Spring Boot, and R2DBC. He wrote Packt’s best-selling title, Learning Spring Boot 2.0 2nd Edition, and its 3rd Edition follow-up as well as Hacking with Spring Boot 2.3: Reactive Edition and other titles. He co-founded the Nashville Java User Group in 2010 and hasn’t met a Java app (yet) that he doesn’t like.

Subscribe to Pro Coder, the channel where you get actionable advice to advance your career at @ProCoderIO.