Learning Spring Boot

Greg L. Turnquist

下單後立即進貨 (1~2週)

商品描述

Learn how to use Spring Boot to build apps faster than ever before

About This Book

  • Create Spring-powered, production-grade applications and services with minimal fuss
  • Support multiple environments with one artifact, and add production-grade support with features like custom metrics to track the number of messages published and consumed
  • Each chapter introduces a different area that Spring Boot tackles and explains how to tweak your apps through different properties

Who This Book Is For

This 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 Learn

  • Use Spring Boot's CLI tool to build rapid Groovy-based apps without even touching a build tool
  • Craft a Spring JMS app with ActiveMQ
  • Work with multiple database configurations using Spring Data JPA in development and production as well as Spring Data MongoDB
  • Find out exactly what beans Spring Boot is creating for you, and why it decided to do so
  • Secure your app at the URL and method levels
  • Use Spring Data REST to export your Spring Data repositories to support independent clients
  • Configure the embedded Tomcat servlet engine to use SSL and see how it automatically uses HSTS

In Detail

This 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.