1 option
Spring Boot 2.0 cookbook : configure, test, extend, deploy, and monitor your Spring Boot application both outside and inside the cloud / Alex Antonov.
- Format:
- Book
- Author/Creator:
- Antonov, Alex, author.
- Language:
- English
- Subjects (All):
- Computer software--Development.
- Web applications--Development.
- Physical Description:
- 1 online resource (264 pages) : illustrations
- Edition:
- Second edition.
- Place of Publication:
- Birmingham, [England] ; Mumbai, [India] : Packt, 2018.
- Summary:
- 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..
- Contents:
- 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
- Launching an application using Gradle
- Using the command-line runners
- Setting up a database connection
- Getting ready
- Setting up a data repository service
- Scheduling executors
- Chapter 2: Configuring Web Applications
- Creating a basic RESTful application
- Creating Spring Data REST service
- Configuring custom servlet filters
- Configuring custom interceptors
- Configuring custom HttpMessageConverters
- Configuring custom PropertyEditors
- Configuring custom type formatters
- Chapter 3: Web Framework Behavior Tuning
- Configuring route matching patterns
- Configuring custom static path mappings
- Tuning Tomcat via ServletWebServerFactory
- Choosing embedded servlet containers
- Adding custom connectors
- Chapter 4: Writing Custom Spring Boot Starters
- Introduction.
- Understanding Spring Boot autoconfiguration
- Creating a custom Spring Boot autoconfiguration starter
- Configuring custom conditional bean instantiations
- Using custom @Enable annotations to toggle configuration
- Chapter 5: Application Testing
- Creating tests for MVC controllers
- Configuring a database schema and populating it
- Initializing the database with Spring JPA and Hibernate
- Initializing the database with Spring JDBC
- Creating tests using an in-memory database
- Creating tests using mock objects
- Creating a JPA component test
- Creating a WebMvc component test
- Writing tests using Cucumber
- Writing tests using Spock
- Chapter 6: Application Packaging and Deployment
- Creating a Spring Boot executable JAR
- Creating Docker images
- Building self-executing binaries
- Spring Boot environment configuration, hierarchy, and precedence
- Adding a custom PropertySource to the environment using EnvironmentPostProcessor
- Externalizing an environmental configuration using property files
- Externalizing an environmental configuration using environment variables
- How it works.
- Externalizing an environmental configuration using Java system properties
- Externalizing an environmental config using JSON
- Setting up Consul
- Externalizing an environmental config using Consul and envconsul
- Chapter 7: Health Monitoring and Data Visualization
- Writing custom health indicators
- Configuring management context
- Emitting metrics
- Monitoring Spring Boot via JMX
- Managing Spring Boot via SSHd Shell and writing custom remote Shell commands
- Integrating Micrometer metrics with Graphite
- Integrating Micrometer metrics with Dashing
- Chapter 8: Spring Boot DevTools
- Adding Spring Boot DevTools to a project
- Configuring LiveReload
- Configuring dynamic application restart triggers
- Using Remote Update
- Chapter 9: Spring Cloud
- Getting started with Spring Cloud
- Service discovery using Spring Cloud Consul
- Using Spring Cloud Netflix - Feign
- Service discovery using Spring Cloud Netflix - Eureka
- Using Spring Cloud Netflix - Hystrix
- How to do it.
- How it works...
- Other Books You May Enjoy
- Index.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (EBC, viewed March 22, 2018).
- ISBN:
- 9781787123670
- 1787123677
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.