Cargando…

Spring Boot 2.0 Cookbook Second Edition : Configure, test, extend, deploy, and monitor your Spring Boot application both outside and inside the cloud, 2nd Edition.

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

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Antonov, Alex
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2018.
Edición:2nd ed.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • 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; Understanding Spring Boot autoconfiguration; How to do it ... ; How it works ...
  • Creating a custom Spring Boot autoconfiguration starterHow 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 databaseHow 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 ...