Learning Spring Boot : simplify the development of lightning fast applications based on microservices and reactive programming /
Use Spring Boot to build lightning-fast apps About This Book Get up to date with the defining characteristics of Spring Boot 2.0 in Spring Framework 5 Learn to perform Reactive programming with SpringBoot Learn about developer tools, AMQP messaging, WebSockets, security, MongoDB data access, REST, a...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt,
2017.
|
Edición: | Second edition. |
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Quick Start with Java
- Getting started
- Spring Boot starters
- Running a Spring Boot application
- Delving into Spring Boot's property support
- Bundling up the application as a runnable JAR file
- Deploying to Cloud Foundry
- Adding production-ready support
- Pinging our app for general health
- Metrics
- Summary
- Chapter 2: Reactive Web with Spring Boot
- Creating a reactive web application with Spring InitializrLearning the tenets of reactive programming
- Introducing Reactor types
- Switching from Embedded Netty to Apache Tomcat
- Comparing reactive Spring WebFlux against classic Spring MVC
- Why is Spring doing this?
- Showing some Mono/Flux-based endpoints
- Creating a reactive ImageService
- Creating a reactive file controller
- Why use reactive programming?
- Interacting with a Thymeleaf template
- Illustrating how going from async to sync can be easy, but the opposite is not
- Summary
- Chapter 3: Reactive Data Access with Spring BootGetting underway with a reactive data store
- Solving a problem
- Wiring up Spring Data repositories with Spring Boot
- Creating a reactive repository
- Pulling data through a Mono/Flux and chain of operations
- Creating custom finders
- Querying by example
- Querying with MongoOperations
- Logging reactive operations
- Summary
- Chapter 4: Testing with Spring Boot
- Test dependencies
- Unit testing
- Slice-based testing
- Testing with embedded MongoDB
- Testing with a real MongoDB database
- Testing WebFlux controllersFully embedded Spring Boot app tests
- Testing your custom Spring Boot autoconfiguration
- Summary
- Chapter 5: Developer Tools for Spring Boot Apps
- Using Spring Boot's DevTools for hot code reloading
- Using Spring Boot's autoconfiguration report
- Making local changes and seeing them on the target system
- Writing a custom health check
- Adding build data to /application/info
- Creating custom metrics
- Working with additional Actuator endpoints
- Summary
- Chapter 6: AMQP Messaging with Spring Boot
- Getting started with RabbitMQInstalling RabbitMQ broker
- Launching the RabbitMQ broker
- Adding messaging as a new component to an existing application
- Creating a message producer/message consumer
- Displaying comments
- Producing comments
- AMQP fundamentals
- Adding customized metrics to track message flow
- Peeking at Spring Cloud Stream (with RabbitMQ)
- Introduction to Spring Cloud
- Logging with Spring Cloud Stream
- Summary
- Chapter 7: Microservices with Spring Boot
- A quick primer on microservices