Spring Boot 2.0 cookbook configure, test, extend, deploy, and monitor your Spring Boot application both outside and inside the cloud

The Spring framework provides great flexibility for Java development, which also results in tedious configuration work. Spring Boot addresses the configuration difficulties of Spring and makes it easy to create stand-alone, production-grade Spring-based applications. This practical guide makes the e...

Full description

Bibliographic Details
Main Author: Antonov, Alex
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2018
Edition:Second edition
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 07808nmm a2200493 u 4500
001 EB001945956
003 EBX01000000000000001108858
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 1787129829 
020 |a 9781787123670 
020 |a 1787123677 
050 4 |a QA76.76.A65 
100 1 |a Antonov, Alex 
245 0 0 |a Spring Boot 2.0 cookbook  |b configure, test, extend, deploy, and monitor your Spring Boot application both outside and inside the cloud  |c Alex Antonov 
250 |a Second edition 
260 |a Birmingham, UK  |b Packt Publishing  |c 2018 
300 |a 1 volume  |b illustrations 
505 0 |a Understanding Spring Boot autoconfiguration -- How to do it... -- How it works... -- Creating a custom Spring Boot autoconfiguration starter -- How to do it... -- How it works... -- Configuring custom conditional bean instantiations -- How to do it... -- How it works... -- Using custom @Enable annotations to toggle configuration -- How to do it... -- How it works... -- Chapter 5: Application Testing -- Introduction -- Creating tests for MVC controllers -- How to do it... -- How it works... -- Configuring a database schema and populating it -- How to do it... -- How it works... -- Initializing the database with Spring JPA and Hibernate -- Initializing the database with Spring JDBC -- Creating tests using an in-memory database -- How to do it... -- How it works... -- Creating tests using mock objects -- How to do it... -- How it works... -- Creating a JPA component test -- How to do it... -- How it works... -- Creating a WebMvc component test -- How to do it... -- How it works... -- Writing tests using Cucumber -- How to do it... -- How it works... -- Writing tests using Spock -- How to do it... -- How it works... -- Chapter 6: Application Packaging and Deployment -- Introduction -- Creating a Spring Boot executable JAR -- How to do it... -- How it works... -- Creating Docker images -- How to do it... -- How it works... -- Building self-executing binaries -- Getting ready -- How to do it... -- How it works... -- Spring Boot environment configuration, hierarchy, and precedence -- How to do it... -- How it works... -- Adding a custom PropertySource to the environment using EnvironmentPostProcessor -- How to do it... -- How it works... -- Externalizing an environmental configuration using property files -- How to do it... -- How it works... -- Externalizing an environmental configuration using environment variables -- How to do it... -- How it works 
505 0 |a Externalizing an environmental configuration using Java system properties -- How to do it... -- How it works... -- Externalizing an environmental config using JSON -- How to do it... -- How it works... -- Setting up Consul -- How to do it... -- How it works... -- Externalizing an environmental config using Consul and envconsul -- Getting ready -- How to do it... -- How it works... -- Chapter 7: Health Monitoring and Data Visualization -- Introduction -- Writing custom health indicators -- How to do it... -- How it works... -- Configuring management context -- How to do it... -- How it works... -- Emitting metrics -- Getting ready -- How to do it... -- How it works... -- Monitoring Spring Boot via JMX -- Getting ready -- How to do it... -- How it works... -- Managing Spring Boot via SSHd Shell and writing custom remote Shell commands -- How to do it... -- How it works... -- Integrating Micrometer metrics with Graphite -- Getting ready -- How to do it... -- How it works... -- Integrating Micrometer metrics with Dashing -- Getting ready -- How to do it... -- How it works... -- Chapter 8: Spring Boot DevTools -- Introduction -- Adding Spring Boot DevTools to a project -- How to do it... -- How it works... -- Configuring LiveReload -- How to do it... -- How it works... -- Configuring dynamic application restart triggers -- How to do it... -- How it works... -- Using Remote Update -- How to do it... -- How it works... -- Chapter 9: Spring Cloud -- Introduction -- Getting started with Spring Cloud -- How to do it... -- How it works... -- Service discovery using Spring Cloud Consul -- How to do it... -- How it works... -- Using Spring Cloud Netflix - Feign -- How to do it... -- How it works... -- Service discovery using Spring Cloud Netflix - Eureka -- How to do it... -- How it works... -- Using Spring Cloud Netflix - Hystrix -- How to do it 
505 0 |a Cover -- Title Page -- Copyright and Credits -- Dedication -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting Started with Spring Boot -- Introduction -- Using a Spring Boot template and starter -- How to do it... -- How it works... -- Creating a simple application -- How to do it... -- How it works... -- Launching an application using Gradle -- How to do it... -- How it works... -- Using the command-line runners -- How to do it... -- How it works... -- Setting up a database connection -- Getting ready -- How to do it... -- How it works... -- Setting up a data repository service -- How to do it... -- How it works... -- Scheduling executors -- Getting ready -- How to do it... -- How it works... -- Chapter 2: Configuring Web Applications -- Creating a basic RESTful application -- How to do it... -- How it works... -- Creating Spring Data REST service -- How to do it... -- How it works... -- Configuring custom servlet filters -- How to do it... -- How it works... -- Configuring custom interceptors -- How to do it... -- How it works... -- Configuring custom HttpMessageConverters -- How to do it... -- How it works... -- Configuring custom PropertyEditors -- How to do it... -- How it works... -- Configuring custom type formatters -- How to do it... -- How it works... -- Chapter 3: Web Framework Behavior Tuning -- Introduction -- Configuring route matching patterns -- How to do it... -- How it works... -- Configuring custom static path mappings -- How to do it... -- How it works... -- Tuning Tomcat via ServletWebServerFactory -- How to do it... -- How it works... -- Choosing embedded servlet containers -- How to do it... -- How it works... -- Adding custom connectors -- Getting ready -- How to do it... -- How it works... -- Chapter 4: Writing Custom Spring Boot Starters -- Introduction 
505 0 |a How it works... -- Other Books You May Enjoy -- Index 
653 |a Logiciels d'application / Développement 
653 |a Cloud computing / fast 
653 |a Programming & scripting languages: general / bicssc 
653 |a Computers / Programming Languages / Java / bisacsh 
653 |a Computer programming / software development / bicssc 
653 |a Infonuagique 
653 |a Application software / Development / fast 
653 |a Cloud computing / http://id.loc.gov/authorities/subjects/sh2008004883 
653 |a Spring (Software framework) / http://id.loc.gov/authorities/names/n2017044371 
653 |a Spring (Software framework) / fast 
653 |a Computers / Programming / General / bisacsh 
653 |a Computers / Programming / Open Source / bisacsh 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
015 |a GBC1L5086 
776 |z 9781787129825 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781787129825/?ar  |x Verlag  |3 Volltext 
082 0 |a 331 
082 0 |a 005.1 
520 |a The Spring framework provides great flexibility for Java development, which also results in tedious configuration work. Spring Boot addresses the configuration difficulties of Spring and makes it easy to create stand-alone, production-grade Spring-based applications. This practical guide makes the existing development process more efficient