最新章節
- Summary
- Pushing app to Cloud Foundry and adjusting the settings
- @ConfigurationProperties versus @Value
- Overriding property settings in production
- Creating configuration property beans
- Profile-based sets of beans
品牌:中圖公司
上架時間:2021-07-02 12:42:02
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Summary 更新時間:2021-07-02 15:18:32
- Pushing app to Cloud Foundry and adjusting the settings
- @ConfigurationProperties versus @Value
- Overriding property settings in production
- Creating configuration property beans
- Profile-based sets of beans
- Taking Your App to Production with Spring Boot
- Summary
- Securing the Eureka Server
- Securing the Config Server
- Tracing calls
- Securing WebSockets
- Tailoring the UI with authorization checks
- Authorizing methods
- Wiring in image ownership
- Securing the images microservice
- Sharing session details with other microservices
- Authentication versus authorization
- Securing the chat microservice
- Creating a Gateway API
- Using Spring Session
- Securing a Spring Boot application
- Securing Your App with Spring Boot
- Summary
- JSR 356 versus Spring WebFlux messaging
- Checking out the final product
- Sending user-to-user messages
- Linking a user to a session
- Registering users without authentication
- Sending user-specific messages
- Introducing user chatting
- Handling AJAX calls on the server
- Moving to a fully asynchronous web client
- Consuming WebSocket messages from the web page
- Configuring WebSocket handlers
- Broadcasting saved comments
- Brokering WebSocket messages
- Creating a chat service to handle WebSocket traffic
- Publishing saved comments to a chat service
- WebSockets with Spring Boot
- Summary
- Offloading microservice settings to a configuration server
- Monitoring circuits
- Implementing microservice circuit breakers
- Calling one microservice from another with client-side load balancing
- Introducing @SpringCloudApplication
- Dynamically registering and finding services with Eureka
- A quick primer on microservices
- Microservices with Spring Boot
- Summary
- Logging with Spring Cloud Stream
- Introduction to Spring Cloud
- Peeking at Spring Cloud Stream (with RabbitMQ)
- Adding customized metrics to track message flow
- AMQP fundamentals
- Producing comments
- Displaying comments
- Creating a message producer/message consumer
- Adding messaging as a new component to an existing application
- Launching the RabbitMQ broker
- Installing RabbitMQ broker
- Getting started with RabbitMQ
- AMQP Messaging with Spring Boot
- Summary
- Working with additional Actuator endpoints
- Creating custom metrics
- Adding build data to /application/info
- Writing a custom health check
- Making local changes and seeing them on the target system
- Using Spring Boot's autoconfiguration report
- Using Spring Boot's DevTools for hot code reloading
- Developer Tools for Spring Boot Apps
- Summary
- Testing your custom Spring Boot autoconfiguration
- Fully embedded Spring Boot app tests
- Testing WebFlux controllers
- Testing with a real MongoDB database
- Testing with embedded MongoDB
- Slice-based testing
- Unit testing
- Test dependencies
- Testing with Spring Boot
- Summary
- Logging reactive operations
- Querying with MongoOperations
- Querying by example
- Creating custom finders
- Pulling data through a Mono/Flux and chain of operations
- Creating a reactive repository
- Wiring up Spring Data repositories with Spring Boot
- Solving a problem
- Getting underway with a reactive data store
- Reactive Data Access with Spring Boot
- Summary
- Illustrating how going from async to sync can be easy but the opposite is not
- Interacting with a Thymeleaf template
- Why use reactive programming?
- Creating a reactive file controller
- Creating a reactive ImageService
- Showing some Mono/Flux-based endpoints
- Why is Spring doing this?
- Comparing reactive Spring WebFlux against classic Spring MVC
- Switching from Embedded Netty to Apache Tomcat
- Introducing Reactor types
- Learning the tenets of reactive programming
- Creating a reactive web application with Spring Initializr
- Reactive Web with Spring Boot
- Summary
- Metrics
- Pinging our app for general health
- Adding production-ready support
- Deploying to Cloud Foundry
- Bundling up the application as a runnable JAR file
- Delving into Spring Boot's property support
- Running a Spring Boot application
- Spring Boot starters
- Getting started
- Quick Start with Java
- Questions
- Piracy
- Errata
- Downloading the color images of this book
- Downloading the example code
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Customer Feedback
- Why subscribe?
- www.PacktPub.com
- About the Reviewer
- About the Author
- Foreword
- Credits
- Second Edition
- Learning Spring Boot 2.0
- Copyright
- Second Edition
- Title Page
- coverpage
- coverpage
- Title Page
- Second Edition
- Copyright
- Learning Spring Boot 2.0
- Second Edition
- Credits
- Foreword
- About the Author
- About the Reviewer
- www.PacktPub.com
- Why subscribe?
- Customer Feedback
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Downloading the color images of this book
- Errata
- Piracy
- Questions
- 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
- Reactive Web with Spring Boot
- Creating a reactive web application with Spring Initializr
- Learning 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
- Reactive Data Access with Spring Boot
- Getting 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
- Testing with Spring Boot
- Test dependencies
- Unit testing
- Slice-based testing
- Testing with embedded MongoDB
- Testing with a real MongoDB database
- Testing WebFlux controllers
- Fully embedded Spring Boot app tests
- Testing your custom Spring Boot autoconfiguration
- Summary
- 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
- AMQP Messaging with Spring Boot
- Getting started with RabbitMQ
- Installing 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
- Microservices with Spring Boot
- A quick primer on microservices
- Dynamically registering and finding services with Eureka
- Introducing @SpringCloudApplication
- Calling one microservice from another with client-side load balancing
- Implementing microservice circuit breakers
- Monitoring circuits
- Offloading microservice settings to a configuration server
- Summary
- WebSockets with Spring Boot
- Publishing saved comments to a chat service
- Creating a chat service to handle WebSocket traffic
- Brokering WebSocket messages
- Broadcasting saved comments
- Configuring WebSocket handlers
- Consuming WebSocket messages from the web page
- Moving to a fully asynchronous web client
- Handling AJAX calls on the server
- Introducing user chatting
- Sending user-specific messages
- Registering users without authentication
- Linking a user to a session
- Sending user-to-user messages
- Checking out the final product
- JSR 356 versus Spring WebFlux messaging
- Summary
- Securing Your App with Spring Boot
- Securing a Spring Boot application
- Using Spring Session
- Creating a Gateway API
- Securing the chat microservice
- Authentication versus authorization
- Sharing session details with other microservices
- Securing the images microservice
- Wiring in image ownership
- Authorizing methods
- Tailoring the UI with authorization checks
- Securing WebSockets
- Tracing calls
- Securing the Config Server
- Securing the Eureka Server
- Summary
- Taking Your App to Production with Spring Boot
- Profile-based sets of beans
- Creating configuration property beans
- Overriding property settings in production
- @ConfigurationProperties versus @Value
- Pushing app to Cloud Foundry and adjusting the settings
- Summary 更新時間:2021-07-02 15:18:32