Cargando…

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 About This Book Learn to create different types of Spring Boot applications, configure behavior, and add custom components Become more efficient in testing, deploying, and monitoring Spring Boot based applications...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Antonov, Alex (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Quick answers to common problems.
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • 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.