Spring Boot cookbook :
Antonov, Alex,
Spring Boot cookbook : over 35 recipes to help you build, test, and run Spring applications using Spring Boot / Over 35 recipes to help you build, test, and run Spring applications using Spring Boot Alex Antonov. - 1 online resource (1 volume) : illustrations - Quick answers to common problems . - Quick answers to common problems. .
Includes index.
Cover; Copyright; Credits; About the Author; Acknowledgment; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Spring Boot; Introduction; Using a Spring Boot template and starters; Creating a simple application; Launching an application using Gradle; Using the command-line runners; Setting up a database connection; Setting up a data repository service; Scheduling executors; Chapter 2: Configuring Web Applications; Creating a basic RESTful application; Creating a Spring Data REST service; Configuring custom servlet filters. Configuring custom interceptorsConfiguring custom HttpMessageConverters; Configuring custom PropertyEditors; Configuring custom type Formatters; Chapter 3: Web Framework Behavior Tuning; Introduction; Configuring route matching patterns; Configuring custom static path mappings; Tuning Tomcat via EmbeddedServletContainerCustomizer; 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 instantiationsUsing custom @Enable* annotations to toggle configurations; Chapter 5: Application Testing; Introduction; Creating tests for Spring MVC Controllers; Automatically configuring the database schema and populating it with data; Creating tests using in-memory database with data fixtures; Creating tests using Mockito to mock DB; Writing tests using Cucumber; Writing tests using Spock; Chapter 6: Application Packaging and Deployment; Introduction; Creating a Spring Boot executable JAR; Creating Docker images; Building self-executing binaries. Spring Boot environment config hierarchy and precedenceExternalizing environmental config using property files; Externalizing environmental config using environment variables; Externalizing environmental config using Java system properties; Setting up Consul; Externalizing environmental config using Consul and envconsul; Chapter 7: Health Monitoring and Data Visualization; Introduction; Writing custom health indicators; Emitting metrics; Monitoring Spring Boot via JMX; Management of Spring Boot via CRaSH and writing custom remote shell commands. Integrating Codahale/Dropwizard metrics with GraphiteIntegrating Codahale/Dropwizard metrics with Dashing; Index.
9781785289118 178528911X
CL0500000662 Safari Books Online EB350244-E865-466B-95E2-8B63F1921A0F OverDrive, Inc. http://www.overdrive.com
Computer software--Development.
Web applications--Development.
COMPUTERS--Software Development & Engineering--General.
Computer software--Development.
Electronic books.
QA76.76.D47
005.1
Spring Boot cookbook : over 35 recipes to help you build, test, and run Spring applications using Spring Boot / Over 35 recipes to help you build, test, and run Spring applications using Spring Boot Alex Antonov. - 1 online resource (1 volume) : illustrations - Quick answers to common problems . - Quick answers to common problems. .
Includes index.
Cover; Copyright; Credits; About the Author; Acknowledgment; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Spring Boot; Introduction; Using a Spring Boot template and starters; Creating a simple application; Launching an application using Gradle; Using the command-line runners; Setting up a database connection; Setting up a data repository service; Scheduling executors; Chapter 2: Configuring Web Applications; Creating a basic RESTful application; Creating a Spring Data REST service; Configuring custom servlet filters. Configuring custom interceptorsConfiguring custom HttpMessageConverters; Configuring custom PropertyEditors; Configuring custom type Formatters; Chapter 3: Web Framework Behavior Tuning; Introduction; Configuring route matching patterns; Configuring custom static path mappings; Tuning Tomcat via EmbeddedServletContainerCustomizer; 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 instantiationsUsing custom @Enable* annotations to toggle configurations; Chapter 5: Application Testing; Introduction; Creating tests for Spring MVC Controllers; Automatically configuring the database schema and populating it with data; Creating tests using in-memory database with data fixtures; Creating tests using Mockito to mock DB; Writing tests using Cucumber; Writing tests using Spock; Chapter 6: Application Packaging and Deployment; Introduction; Creating a Spring Boot executable JAR; Creating Docker images; Building self-executing binaries. Spring Boot environment config hierarchy and precedenceExternalizing environmental config using property files; Externalizing environmental config using environment variables; Externalizing environmental config using Java system properties; Setting up Consul; Externalizing environmental config using Consul and envconsul; Chapter 7: Health Monitoring and Data Visualization; Introduction; Writing custom health indicators; Emitting metrics; Monitoring Spring Boot via JMX; Management of Spring Boot via CRaSH and writing custom remote shell commands. Integrating Codahale/Dropwizard metrics with GraphiteIntegrating Codahale/Dropwizard metrics with Dashing; Index.
9781785289118 178528911X
CL0500000662 Safari Books Online EB350244-E865-466B-95E2-8B63F1921A0F OverDrive, Inc. http://www.overdrive.com
Computer software--Development.
Web applications--Development.
COMPUTERS--Software Development & Engineering--General.
Computer software--Development.
Electronic books.
QA76.76.D47
005.1