© 2018

Spring Boot 2 Recipes

A Problem-Solution Approach

  • A practical, hands-on problem-solution code-rich guide to using Spring Boot 2

  • Written by a contributor and submitter to the open source Spring Framework and Boot projects

  • Covers service programming, microservices, messaging, and more


Table of contents

  1. Front Matter
    Pages i-xxi
  2. Marten Deinum
    Pages 1-14
  3. Marten Deinum
    Pages 15-35
  4. Marten Deinum
    Pages 37-84
  5. Marten Deinum
    Pages 85-119
  6. Marten Deinum
    Pages 121-154
  7. Marten Deinum
    Pages 155-192
  8. Marten Deinum
    Pages 193-237
  9. Marten Deinum
    Pages 239-256
  10. Marten Deinum
    Pages 257-290
  11. Marten Deinum
    Pages 291-305
  12. Marten Deinum
    Pages 307-320
  13. Back Matter
    Pages 321-332

About this book


Solve all your Spring Boot 2 problems using complete and real-world code examples. When you start a new project, you’ll be able to copy the code and configuration files from this book, and then modify them for your needs. This can save you a great deal of work over creating a project from scratch.

Using a problem-solution approach, Spring Boot 2 Recipes quickly introduces you to Pivotal's Spring Boot 2 micro-framework, then dives into code snippets on how to apply and integrate Spring Boot 2 with the Spring MVC web framework, Spring Web Sockets, and microservices. You'll also get solutions to common problems with persistence, integrating Spring Boot with batch processing, algorithmic programming via Spring Batch, and much more. Other recipes cover topics such as using and integrating Boot with Spring's enterprise services, Spring Integration, testing, monitoring and more.

You will:
  • Get reusable code recipes and snippets for the Spring Boot 2 micro-framework 
  • Discover how Spring Boot 2 integrates with other Spring APIs, tools, and frameworks
  • Access Spring MVC and the new Spring Web Sockets for simpler web development
  • Work with microservices for web services development and integration with your Spring Boot applications
  • Add persistence and a data tier seamlessly to make your Spring Boot web application do more
  • Integrate enterprise services to create a more complex Java application using Spring Boot


Spring Boot Java framework micro application development software enterprise web source code Spring Boot 2

Authors and affiliations

  1. 1.Meppel, DrentheThe Netherlands

About the authors

Marten Deinum is a submitter on the open source Spring Framework project. He is also a Java/software consultant working for Conspect. He has developed and architected software, primarily in Java, for small and large companies. He is an enthusiastic open source user and longtime fan, user and advocate of the Spring Framework. He has held a number of positions including Software Engineer, Development Lead, Coach, and also as a Java and Spring Trainer. 

Bibliographic information

Industry Sectors
IT & Software
Finance, Business & Banking