舉報(bào)

會員
Mastering Spring Boot 2.0
ThebookistargetedatexperiencedSpringandJavadeveloperswhohaveabasicknowledgeofworkingwithSpringBoot.ThereadershouldbefamiliarwithSpringBootbasics,andawareofitsbenefitsovertraditionalSpringFramework-basedapplications.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- Adding the Zipkin server to your machine
- Requesting tracing with Zipkin
- Requesting tracing using Sleuth
品牌:中圖公司
上架時間:2021-06-25 20:48:57
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時間:2021-06-25 21:29:59
- Other Books You May Enjoy
- Summary
- Adding the Zipkin server to your machine
- Requesting tracing with Zipkin
- Requesting tracing using Sleuth
- Install Kibana
- Install Logstash
- Install Elasticsearch
- Log aggregation using the ELK stack
- Centralized logging solution for the microservices architecture
- Logging challenges for the microservices architecture
- Monitoring containers
- Production Ready Service Monitoring and Best Practices
- Summary
- Running microservices on AWS EC2
- Installing Docker on AWS EC2
- Publishing microservices to the Docker Hub
- Microservices architecture on AWS
- Spinning up an AWS EC2 instance
- Deploying in Cloud (AWS)
- Summary
- Advantages of Swagger
- Customizing with Swagger annotations
- Filtering an API from Swagger's documentation
- Customizing the Swagger UI meta-configuration
- Configuring Swagger UI in your project
- Configuring Swagger 2 in your project
- Adding a Maven dependency
- Using Swagger in a microservice
- Usage of Swagger
- Swagger
- Features of the KONG API
- Using the KONG API
- Installing KONG
- Using APIs without the KONG architecture
- Microservice REST APIs with the KONG architecture
- Learning about KONG
- Implementing rate limiting
- Rate limiting
- API Management tools
- Advantages of using API Management software tools
- API Management
- API Management
- Summary
- Introducing Kubernetes
- Scaling containers using docker-compose and load balancing
- Orchestration using a docker-compose file
- Writing a docker-compose file
- Using Docker Compose
- Installing Docker Compose
- Getting started with Docker Compose
- Creating a Docker image using Maven
- Dockerizing any Spring Boot application
- Writing Dockerfile
- Docker container
- Docker Engine
- Docker architecture
- Container-specific commands
- Docker commands
- Installing Docker on Windows
- Installing Docker on Linux
- Installing Docker
- Getting started with Docker
- Key concepts of the containers-oriented approach
- Drawbacks of a container-oriented approach
- Benefits of a container-oriented approach
- Virtual machines versus containers
- Introducing containers to the microservice architecture
- Containerizing Microservice
- Summary
- Postman for testing RESTful service contracts
- Using Mockito for mocking services
- JUnit tests for the Spring Boot application
- Activating profiles for a test class
- Benefits of testing with Spring
- Integration testing
- Other mock libraries
- Disadvantages
- Advantages
- Unit testing
- Test-driven development
- Testing Spring Boot Application
- Summary
- REST consumer with Hystrix and Feign
- Turbine stream
- Turbine dashboard
- Implementing Hystrix Dashboard in our project
- Hystrix Metrics Stream
- Customizing the default configuration
- Building and testing customer service
- Implementing a REST controller in customer service
- Error propagation
- Adding the Hystrix annotation in services
- Enabling circuit-breaker
- Maven dependency
- Configuring Hystrix in your application
- Using the Hystrix library with a reference implementation
- Circuit-breaker pattern
- Building Resilient Systems Using Hystrix and Turbine
- Summary
- Listening to a Kafka topic
- Rest API controller
- Service used to write to Kafka
- Configuration properties for Kafka
- Installing and running Kafka
- Adding Kafka to your application
- Introducing Spring Cloud Streaming
- Building an event-driven Reactive Asynchronous System
- Introduction to Eventual consistency
- Introduction to the Event Sourcing pattern
- Introduction to Command Query Responsibility Segregation
- ReactiveX
- Spring Reactive
- Introduction to reactive programming
- Broker topology
- Mediator topology
- Event-driven architecture patterns
- Building Event-Driven and Asynchronous Reactive Systems
- Summary
- Unit testing Feign clients
- Feign and Hystrix
- Custom decoder
- Custom encoder
- Custom encoders and decoders
- Exception handling
- Feign logging
- Advanced usage of the Feign client
- Multiple interfaces
- Feign inheritance support
- Creating Feign clients
- Overriding Feign defaults
- Including Feign in the cloud application
- Declarative REST client – Feign basics
- Simplify HTTP API with Feign Client
- Summary
- Registering Zuul filters
- Adding Zuul filters
- Configuring Zuul properties
- Enabling the Zuul service proxy
- Including Zuul using Maven dependency
- Implementing API Gateway using Netflix Zuul Proxy
- API Gateway pattern components
- Cons of the API Gateway pattern
- Pros of the API Gateway pattern
- The need for an API Gateway pattern
- Creating API Gateway with Netflix Zuul Proxy
- Summary
- Spring Data JPA
- Spring MongoDB data highlights
- Spring Data MongoDB
- Apache Ignite repository
- Brief introduction to Spring Data
- Load-balanced RestTemplate
- Creating microservice consumers
- Creating a microservice (the Producer)
- Creating a discovery service
- A simple microservice example
- Brief introduction to bootstrap.yml and application.yml
- Microservices with Spring Boot
- Building Spring Boot RESTful Microservice
- Summary
- Using the registry-aware Spring Cloud Netflix FeignClient client
- Client-side load balancing using Netflix Ribbon
- Using DiscoveryClient
- Using EurekaClient
- Consuming the REST service
- Registering a client with Eureka
- The Gradle build configuration
- Adding the Maven dependencies configuration
- Implementing Service Discovery – Eureka clients
- Enabling the Eureka server as a Discovery Service server
- The Gradle build configuration file
- The Maven build configuration file
- Implementing Service Discovery – Eureka Server
- The need for Service Discovery in the microservices architecture
- Introduction to Spring Cloud Netflix
- Spring Cloud Netflix and Service Discovery
- Summary
- Creating the configuration consumer Spring Cloud Config client
- Force-pull property
- Authentication
- Configuring multiple repositories using patterns
- Running your configuration application
- Creating a Git repository as configuration storage
- Configuring the application.properties file
- Implementing Cloud Config Server
- Project setup and dependencies
- Creating the configuration producer Spring Cloud Config Server
- Configuring the Spring Cloud application
- Usages of Spring Cloud
- Building blocks of the cloud and microservice applications
- Introduction to Spring Cloud
- Microservice challenges
- Microservice benefits
- Microservices architecture
- Cloud-native application architecture
- Getting Started with Spring Cloud and Configuration
- Summary
- The Actuator with Spring Boot 2.X
- Securing the Actuator endpoints
- Creating a custom endpoint
- Writing custom health indicators
- Changing the sensitivity of the Actuator's endpoints
- Changing endpoint IDs
- Enabling or disabling endpoints
- Customizing your Actuator endpoints
- Shutting down your application
- Exposing application information
- Exposing metrics endpoints
- Exposing configuration details
- Analyzing the Actuator's endpoints
- Enabling Spring Boot's Actuator in your application
- Spring Boot Actuator – taking Application's Insights
- Using the Initializr with the Spring Boot CLI
- Command-line completion
- MacPorts installation
- Installing with OSX Homebrew
- Installation with SDKMAN!
- Manually installing from a downloaded distribution
- Installing the Spring Boot CLI
- Getting started with using Spring Boot CLI
- Getting Started with Spring CLI and Actuator
- Summary
- Customizing application error pages
- Multiple profiles inside a single YAML file
- YAML for properties
- Using YAML for configuration
- Logging output
- Fine-tuning with logging
- Using the @EnableConfigurationProperties annotation
- Externally configuring application properties
- Renaming application.properties in the Spring application
- Order of evaluation for overridden properties
- Externalizing configuration with properties
- Changing a library's dependencies
- Disabling specific auto-configuration classes
- Replacing generated beans
- Customizing using Spring Boot properties
- Customizing Spring Boot
- Learning how auto-configuration works
- Understanding auto-configuration
- Customizing Auto-Configuration in Spring Boot Application
- Summary
- New features in Spring Boot 2.0
- Implementing the REST service
- Creating a Spring Boot project using the STS IDE
- Using a web interface for Spring Initializr
- Developing your first Spring Boot application
- Setting up Spring Boot with Gradle
- Setting up Spring Boot with Maven
- Setting up a Spring Boot workspace
- Spring Boot Actuator
- Spring Boot CLI
- Enabling Spring Boot auto-configuration
- Spring Boot auto-configuration
- Spring Boot Starter Parent POM
- Spring Boot Starters
- The essential key components of Spring Boot
- Simplifying Spring application development using Spring Boot
- Introducing Spring Boot
- Getting Started with Spring Boot 2.0
- Reviews
- Get in touch
- Conventions used
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewers
- About the author
- Contributors
- PacktPub.com
- Why subscribe?
- Packt Upsell
- Dedication
- 版權(quán)信息
- 封面
- 封面
- 版權(quán)信息
- Dedication
- Packt Upsell
- Why subscribe?
- PacktPub.com
- Contributors
- About the author
- About the reviewers
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Conventions used
- Get in touch
- Reviews
- Getting Started with Spring Boot 2.0
- Introducing Spring Boot
- Simplifying Spring application development using Spring Boot
- The essential key components of Spring Boot
- Spring Boot Starters
- Spring Boot Starter Parent POM
- Spring Boot auto-configuration
- Enabling Spring Boot auto-configuration
- Spring Boot CLI
- Spring Boot Actuator
- Setting up a Spring Boot workspace
- Setting up Spring Boot with Maven
- Setting up Spring Boot with Gradle
- Developing your first Spring Boot application
- Using a web interface for Spring Initializr
- Creating a Spring Boot project using the STS IDE
- Implementing the REST service
- New features in Spring Boot 2.0
- Summary
- Customizing Auto-Configuration in Spring Boot Application
- Understanding auto-configuration
- Learning how auto-configuration works
- Customizing Spring Boot
- Customizing using Spring Boot properties
- Replacing generated beans
- Disabling specific auto-configuration classes
- Changing a library's dependencies
- Externalizing configuration with properties
- Order of evaluation for overridden properties
- Renaming application.properties in the Spring application
- Externally configuring application properties
- Using the @EnableConfigurationProperties annotation
- Fine-tuning with logging
- Logging output
- Using YAML for configuration
- YAML for properties
- Multiple profiles inside a single YAML file
- Customizing application error pages
- Summary
- Getting Started with Spring CLI and Actuator
- Getting started with using Spring Boot CLI
- Installing the Spring Boot CLI
- Manually installing from a downloaded distribution
- Installation with SDKMAN!
- Installing with OSX Homebrew
- MacPorts installation
- Command-line completion
- Using the Initializr with the Spring Boot CLI
- Spring Boot Actuator – taking Application's Insights
- Enabling Spring Boot's Actuator in your application
- Analyzing the Actuator's endpoints
- Exposing configuration details
- Exposing metrics endpoints
- Exposing application information
- Shutting down your application
- Customizing your Actuator endpoints
- Enabling or disabling endpoints
- Changing endpoint IDs
- Changing the sensitivity of the Actuator's endpoints
- Writing custom health indicators
- Creating a custom endpoint
- Securing the Actuator endpoints
- The Actuator with Spring Boot 2.X
- Summary
- Getting Started with Spring Cloud and Configuration
- Cloud-native application architecture
- Microservices architecture
- Microservice benefits
- Microservice challenges
- Introduction to Spring Cloud
- Building blocks of the cloud and microservice applications
- Usages of Spring Cloud
- Configuring the Spring Cloud application
- Creating the configuration producer Spring Cloud Config Server
- Project setup and dependencies
- Implementing Cloud Config Server
- Configuring the application.properties file
- Creating a Git repository as configuration storage
- Running your configuration application
- Configuring multiple repositories using patterns
- Authentication
- Force-pull property
- Creating the configuration consumer Spring Cloud Config client
- Summary
- Spring Cloud Netflix and Service Discovery
- Introduction to Spring Cloud Netflix
- The need for Service Discovery in the microservices architecture
- Implementing Service Discovery – Eureka Server
- The Maven build configuration file
- The Gradle build configuration file
- Enabling the Eureka server as a Discovery Service server
- Implementing Service Discovery – Eureka clients
- Adding the Maven dependencies configuration
- The Gradle build configuration
- Registering a client with Eureka
- Consuming the REST service
- Using EurekaClient
- Using DiscoveryClient
- Client-side load balancing using Netflix Ribbon
- Using the registry-aware Spring Cloud Netflix FeignClient client
- Summary
- Building Spring Boot RESTful Microservice
- Microservices with Spring Boot
- Brief introduction to bootstrap.yml and application.yml
- A simple microservice example
- Creating a discovery service
- Creating a microservice (the Producer)
- Creating microservice consumers
- Load-balanced RestTemplate
- Brief introduction to Spring Data
- Apache Ignite repository
- Spring Data MongoDB
- Spring MongoDB data highlights
- Spring Data JPA
- Summary
- Creating API Gateway with Netflix Zuul Proxy
- The need for an API Gateway pattern
- Pros of the API Gateway pattern
- Cons of the API Gateway pattern
- API Gateway pattern components
- Implementing API Gateway using Netflix Zuul Proxy
- Including Zuul using Maven dependency
- Enabling the Zuul service proxy
- Configuring Zuul properties
- Adding Zuul filters
- Registering Zuul filters
- Summary
- Simplify HTTP API with Feign Client
- Declarative REST client – Feign basics
- Including Feign in the cloud application
- Overriding Feign defaults
- Creating Feign clients
- Feign inheritance support
- Multiple interfaces
- Advanced usage of the Feign client
- Feign logging
- Exception handling
- Custom encoders and decoders
- Custom encoder
- Custom decoder
- Feign and Hystrix
- Unit testing Feign clients
- Summary
- Building Event-Driven and Asynchronous Reactive Systems
- Event-driven architecture patterns
- Mediator topology
- Broker topology
- Introduction to reactive programming
- Spring Reactive
- ReactiveX
- Introduction to Command Query Responsibility Segregation
- Introduction to the Event Sourcing pattern
- Introduction to Eventual consistency
- Building an event-driven Reactive Asynchronous System
- Introducing Spring Cloud Streaming
- Adding Kafka to your application
- Installing and running Kafka
- Configuration properties for Kafka
- Service used to write to Kafka
- Rest API controller
- Listening to a Kafka topic
- Summary
- Building Resilient Systems Using Hystrix and Turbine
- Circuit-breaker pattern
- Using the Hystrix library with a reference implementation
- Configuring Hystrix in your application
- Maven dependency
- Enabling circuit-breaker
- Adding the Hystrix annotation in services
- Error propagation
- Implementing a REST controller in customer service
- Building and testing customer service
- Customizing the default configuration
- Hystrix Metrics Stream
- Implementing Hystrix Dashboard in our project
- Turbine dashboard
- Turbine stream
- REST consumer with Hystrix and Feign
- Summary
- Testing Spring Boot Application
- Test-driven development
- Unit testing
- Advantages
- Disadvantages
- Other mock libraries
- Integration testing
- Benefits of testing with Spring
- Activating profiles for a test class
- JUnit tests for the Spring Boot application
- Using Mockito for mocking services
- Postman for testing RESTful service contracts
- Summary
- Containerizing Microservice
- Introducing containers to the microservice architecture
- Virtual machines versus containers
- Benefits of a container-oriented approach
- Drawbacks of a container-oriented approach
- Key concepts of the containers-oriented approach
- Getting started with Docker
- Installing Docker
- Installing Docker on Linux
- Installing Docker on Windows
- Docker commands
- Container-specific commands
- Docker architecture
- Docker Engine
- Docker container
- Writing Dockerfile
- Dockerizing any Spring Boot application
- Creating a Docker image using Maven
- Getting started with Docker Compose
- Installing Docker Compose
- Using Docker Compose
- Writing a docker-compose file
- Orchestration using a docker-compose file
- Scaling containers using docker-compose and load balancing
- Introducing Kubernetes
- Summary
- API Management
- API Management
- Advantages of using API Management software tools
- API Management tools
- Rate limiting
- Implementing rate limiting
- Learning about KONG
- Microservice REST APIs with the KONG architecture
- Using APIs without the KONG architecture
- Installing KONG
- Using the KONG API
- Features of the KONG API
- Swagger
- Usage of Swagger
- Using Swagger in a microservice
- Adding a Maven dependency
- Configuring Swagger 2 in your project
- Configuring Swagger UI in your project
- Customizing the Swagger UI meta-configuration
- Filtering an API from Swagger's documentation
- Customizing with Swagger annotations
- Advantages of Swagger
- Summary
- Deploying in Cloud (AWS)
- Spinning up an AWS EC2 instance
- Microservices architecture on AWS
- Publishing microservices to the Docker Hub
- Installing Docker on AWS EC2
- Running microservices on AWS EC2
- Summary
- Production Ready Service Monitoring and Best Practices
- Monitoring containers
- Logging challenges for the microservices architecture
- Centralized logging solution for the microservices architecture
- Log aggregation using the ELK stack
- Install Elasticsearch
- Install Logstash
- Install Kibana
- Requesting tracing using Sleuth
- Requesting tracing with Zipkin
- Adding the Zipkin server to your machine
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-25 21:29:59