
Cloud Native Java
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Foreword (James Watters)
- Foreword (Rod Johnson)
- Preface
- Who Should Read This Book
- Why We Wrote This Book
- Navigating This Book
- Online Resources
- Conventions Used in This Book
- Using Code Examples
- O'Reilly Safari
- How to Contact Us
- Acknowledgments
- Josh Long
- Kenny Bastani
- Part I. Basics
- Chapter 1. The Cloud Native Application
- Amazon's Story
- The Promise of a Platform
- The Patterns
- Scalability
- Reliability
- Agility
- Netflix's Story
- Microservices
- Splitting the Monolith
- Netflix OSS
- Cloud Native Java
- The Twelve Factors
- Codebase
- Dependencies
- Config
- Backing Services
- Build, Release, Run
- Processes
- Port Bindings
- Concurrency
- Disposability
- Dev/Prod Parity
- Logs
- Admin Processes
- Summary
- Chapter 2. Bootcamp: Introducing Spring Boot and Cloud Foundry
- What Is Spring Boot?
- Getting Started with the Spring Initializr
- Getting Started with the Spring Tool Suite
- Installing Spring Tool Suite (STS)
- Creating a New Project with the Spring Initializr
- The Spring Guides
- Following the Guides in STS
- Configuration
- Cloud Foundry
- Summary
- Chapter 3. Twelve-Factor Application Style Configuration
- The Confusing Conflation of "Configuration"
- Support in Spring Framework
- The PropertyPlaceholderConfigurer
- The Environment Abstraction and @Value
- Profiles
- Bootiful Configuration
- Centralized, Journaled Configuration with the Spring Cloud Configuration Server
- The Spring Cloud Config Server
- Spring Cloud Config Clients
- Security
- Refreshable Configuration
- Summary
- Chapter 4. Testing
- The Makeup of a Test
- Testing in Spring Boot
- Integration Testing
- Test Slices
- Mocking in Tests
- Working with the Servlet Container in @SpringBootTest
- Slices
- End-to-End Testing
- Testing Distributed Systems
- Consumer-Driven Contract Testing
- Spring Cloud Contract
- Summary
- Chapter 5. The Forklifted Application
- The Contract
- Migrating Application Environments
- The Out-of-the-Box Buildpacks
- Custom(ized) Buildpacks
- Containerized Applications
- Soft-Touch Refactoring to Get Your Application into the Cloud
- Talking to Backing Services
- Achieving Service Parity with Spring
- Summary
- Part II. Web Services
- Chapter 6. REST APIs
- Leonard Richardson's Maturity Model
- Simple REST APIs with Spring MVC
- Content Negotiation
- Reading and Writing Binary Data
- Google Protocol Buffers
- Error Handling
- Hypermedia
- Media Type and Schema
- API Versioning
- Documenting REST APIs
- The Client Side
- REST Clients for Ad Hoc Exploration and Interaction
- The RestTemplate
- Summary
- Chapter 7. Routing
- The DiscoveryClient Abstraction
- Cloud Foundry Route Services
- Summary
- Chapter 8. Edge Services
- The Greetings Service
- A Simple Edge Service
- Netflix Feign
- Filtering and Proxying with Netflix Zuul
- A Custom Zuul Filter
- Security on the Edge
- OAuth
- Service-Side Applications
- HTML5 and JavaScript Single-Page Applications
- Applications Without Users
- Trusted Clients
- Spring Security
- Spring Cloud Security
- A Spring Security OAuth Authorization Server
- Securing the Greetings Resource Server
- Build an OAuth-Secured Single-Page Application
- Summary
- Part III. Data Integration
- Chapter 9. Managing Data
- Modeling Data
- Relational Database Management Systems (RDBMS)
- NoSQL
- Spring Data
- Structure of a Spring Data Application
- Domain Class
- Repositories
- Organizing Java Packages for Domain Data
- Getting Started with RDBMS Data Access on JDBC
- Spring's JDBC Support
- Spring Data Examples
- Spring Data JPA
- Account Service
- Integration Tests
- Spring Data MongoDB
- Order Service
- Integration Tests
- Spring Data Neo4j
- Inventory Service
- Integration Tests
- Spring Data Redis
- Caching
- Summary
- Chapter 10. Messaging
- Event-Driven Architectures with Spring Integration
- Messaging Endpoints
- From Simple Components, Complex Systems
- Message Brokers, Bridges, the Competing Consumer Pattern, and Event Sourcing
- Publish-Subscribe Destination
- Point-to-Point Destination
- Spring Cloud Stream
- A Stream Producer
- A Stream Consumer
- Summary
- Chapter 11. Batch Processes and Tasks
- Batch Workloads
- Spring Batch
- Our First Batch Job
- Scheduling
- Remote Partitioning a Spring Batch Job with Messaging
- Task Management
- Process-Centric Integration with Workflow
- Distribution with Messaging
- Summary
- Chapter 12. Data Integration
- Distributed Transactions
- Isolating Failures and Graceful Degradation
- The Saga Pattern
- CQRS (Command Query Responsibility Segregation)
- The Complaints API
- The Complaint Statistics API
- Spring Cloud Data Flow
- Streams
- Tasks
- The REST API
- Meet the Data Flow Clients
- Summary
- Part IV. Production
- Chapter 13. The Observable System
- You Build It, You Run It
- Murder Mystery Microservices
- Twelve-Factor Operations
- The New Deal
- Observability
- Push Versus Pull Observability and Resolution
- Capturing an Application's Present Status with Spring Boot Actuator
- Metrics
- Identifying Your Service with the /info Endpoint
- Health Checks
- Audit Events
- Application Logging
- Specifying Log Output
- Specifying Log Levels
- Distributed Tracing
- Finding Clues with Spring Cloud Sleuth
- How Much Data Is Enough?
- OpenZipkin: A Picture Is Worth a Thousand Traces
- Tracing Other Platforms and Technologies
- Dashboards
- Monitoring Downstream Services with the Hystrix Dashboard
- Codecentric's Spring Boot Admin
- Ordina Microservices Dashboard
- Pivotal Cloud Foundry's AppsManager
- Remediation
- Summary
- Chapter 14. Service Brokers
- The Life of a Backing Service
- The View from the Platform
- Implementing a Service Broker with Spring Cloud Cloud Foundry Service Broker
- A Simple Amazon S3 Service Broker
- The Service Catalog
- Managing Service Instances
- Service Bindings
- Securing the Service Broker
- Deployment
- Releasing with BOSH
- Releasing with Cloud Foundry
- Registering the Amazon S3 Service Broker
- Creating Amazon S3 Service Instances
- Consuming Service Instances
- An S3 Client Application
- Seeing It All Come Together
- Summary
- Chapter 15. Continuous Delivery
- Beyond Continuous Integration
- John Allspaw at Flickr and then Etsy
- Adrian Cockroft at Netflix
- Continuous Delivery at Amazon
- The Pipeline
- Testing
- Continuous Delivery for Microservices
- Tools
- Concourse
- Containers
- Continuously Delivering Microservices
- Installing Concourse
- Basic Pipeline Design
- Continuous Integration
- Consumer-Driven Contract Testing
- User Microservice Pipeline
- Data
- To Production!
- Part V. Appendix
- Appendix A. Using Spring Boot with Java EE
- Compatibility and Stability
- Dependency Injection with JSR 330 (and JSR 250)
- Using Servlet APIs in a Spring Boot Application
- Building REST APIs with JAX-RS (Jersey)
- JTA and XA Transaction Management
- Resource-Local Transactions with Spring's PlatformTransactionManager
- Global Transactions with the Java Transaction API (JTA)
- Deployment in a Java EE Environment
- Summary
- Index
- About the Authors
- Colophon
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.