Spring 5.0 Microservices - Second Edition

A practical, comprehensive, and user-friendly approach to building microservices in Spring

Spring 5.0 Microservices - Second Edition

Rajesh R V

5 customer reviews
A practical, comprehensive, and user-friendly approach to building microservices in Spring
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781787127685
Paperback414 pages

Book Description

The Spring Framework is an application framework and inversion of the control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions to build web applications on top of the Java EE platform.

This book will help you implement the microservice architecture in Spring Framework, Spring Boot, and Spring Cloud. Written to the latest specifications of Spring that focuses on Reactive Programming, you’ll be able to build modern, internet-scale Java applications in no time. The book starts off with guidelines to implement responsive microservices at scale. Next, you will understand how Spring Boot is used to deploy serverless autonomous services by removing the need to have a heavyweight application server.

Later, you’ll learn how to go further by deploying your microservices to Docker and managing them with Mesos. By the end of the book, you will have gained more clarity on the implementation of microservices using Spring Framework and will be able to use them in internet-scale deployments through real-world examples.

 

Table of Contents

Chapter 1: Demystifying Microservices
Evolution of microservices
What are Microservices?
Microservices - The honeycomb analogy
Principles of microservices
Characteristics of microservices
Microservices examples
Microservices benefits
Summary
Chapter 2: Related Architecture Styles and Use Cases
Service-Oriented Architecture (SOA)
Twelve-Factor Apps
Serverless computing
Lambda architecture
DevOps, Cloud, and Containers
Reactive microservices
Microservice use cases
Microservices early adopters - Is there a common theme?
Microservice frameworks
Summary
Chapter 3: Building Microservices with Spring Boot
Setting up a development environment
Spring Boot for building RESTful microservices
Getting started with Spring Boot
Developing a Spring Boot microservice
Developing our first Spring Boot microservice
HATEOAS-enabled Spring Boot microservice
Reactive Spring Boot microservices
Implementing security
Enabling cross origin for microservices interactions
Spring Boot actuators for microservices instrumentation
Documenting microservices
Putting it all together - Developing a customer registration microservice example
Summary
Chapter 4: Applying Microservices Concepts
Microservice design guidelines
Summary
Chapter 5: Microservices Capability Model
Microservices capability model
Core capabilities
Infrastructure capabilities
Supporting capabilities
Process and governance capabilities
Microservices maturity model
Entry points for adoption
Summary
Chapter 6: Microservices Evolution – A Case Study
Understanding the PSS application
Death of the monolith
Microservices to the rescue - a planned approach for migration
Target implementation
Potential next steps
Summary
Chapter 7: Scale Microservices with Spring Cloud Components
What is Spring Cloud?
Spring Cloud releases
Setting up the environment for the BrownField PSS
Spring Cloud Config
Eureka for registration and discovery
Zuul proxy as the API Gateway
Streams for reactive microservices
Protecting microservices with Spring Cloud Security
Summarising the BrownField PSS architecture
Summary
Chapter 8: Logging and Monitoring Microservices
Understanding log management challenges
Centralized logging solution
Selection of logging solutions
Monitoring microservices
Data analysis using Data Lake
Summary
Chapter 9: Containerizing Microservices with Docker
Understanding gaps in the BrownField PSS microservices
What are containers?
Difference between VM and containers
Benefits of containers
Microservices and containers
Introduction to Docker
Deploying microservices into Docker
Running RabbitMQ on Docker
Using the Docker registry
Microservices on Cloud
Running BrownField services on EC2
Future of containerization
Summary
Chapter 10: Scaling Dockerized Microservices with Mesos and Marathon
Scaling microservices
Container orchestration
Container orchestration with Mesos and Marathon
Implementing Mesos and Marathon with DCOS
Implementing Mesos and Marathon for BrownField microservices
Preparing BrownField PSS services
Summary
Chapter 11: Microservice Development Life Cycle
Practice points for microservice development
Automating development cycle
Summary

What You Will Learn

  • Familiarize yourself with the microservices architecture and its benefits
  • Find out how to avoid common challenges and pitfalls while developing microservices
  • Use Spring Boot and Spring Cloud to develop microservices
  • Handle logging and monitoring microservices
  • Leverage Reactive Programming in Spring 5.0 to build modern cloud native applications
  • Manage internet-scale microservices using Docker, Mesos, and Marathon
  • Gain insights into the latest inclusion of Reactive Streams in Spring and make applications more resilient and scalable

Authors

Table of Contents

Chapter 1: Demystifying Microservices
Evolution of microservices
What are Microservices?
Microservices - The honeycomb analogy
Principles of microservices
Characteristics of microservices
Microservices examples
Microservices benefits
Summary
Chapter 2: Related Architecture Styles and Use Cases
Service-Oriented Architecture (SOA)
Twelve-Factor Apps
Serverless computing
Lambda architecture
DevOps, Cloud, and Containers
Reactive microservices
Microservice use cases
Microservices early adopters - Is there a common theme?
Microservice frameworks
Summary
Chapter 3: Building Microservices with Spring Boot
Setting up a development environment
Spring Boot for building RESTful microservices
Getting started with Spring Boot
Developing a Spring Boot microservice
Developing our first Spring Boot microservice
HATEOAS-enabled Spring Boot microservice
Reactive Spring Boot microservices
Implementing security
Enabling cross origin for microservices interactions
Spring Boot actuators for microservices instrumentation
Documenting microservices
Putting it all together - Developing a customer registration microservice example
Summary
Chapter 4: Applying Microservices Concepts
Microservice design guidelines
Summary
Chapter 5: Microservices Capability Model
Microservices capability model
Core capabilities
Infrastructure capabilities
Supporting capabilities
Process and governance capabilities
Microservices maturity model
Entry points for adoption
Summary
Chapter 6: Microservices Evolution – A Case Study
Understanding the PSS application
Death of the monolith
Microservices to the rescue - a planned approach for migration
Target implementation
Potential next steps
Summary
Chapter 7: Scale Microservices with Spring Cloud Components
What is Spring Cloud?
Spring Cloud releases
Setting up the environment for the BrownField PSS
Spring Cloud Config
Eureka for registration and discovery
Zuul proxy as the API Gateway
Streams for reactive microservices
Protecting microservices with Spring Cloud Security
Summarising the BrownField PSS architecture
Summary
Chapter 8: Logging and Monitoring Microservices
Understanding log management challenges
Centralized logging solution
Selection of logging solutions
Monitoring microservices
Data analysis using Data Lake
Summary
Chapter 9: Containerizing Microservices with Docker
Understanding gaps in the BrownField PSS microservices
What are containers?
Difference between VM and containers
Benefits of containers
Microservices and containers
Introduction to Docker
Deploying microservices into Docker
Running RabbitMQ on Docker
Using the Docker registry
Microservices on Cloud
Running BrownField services on EC2
Future of containerization
Summary
Chapter 10: Scaling Dockerized Microservices with Mesos and Marathon
Scaling microservices
Container orchestration
Container orchestration with Mesos and Marathon
Implementing Mesos and Marathon with DCOS
Implementing Mesos and Marathon for BrownField microservices
Preparing BrownField PSS services
Summary
Chapter 11: Microservice Development Life Cycle
Practice points for microservice development
Automating development cycle
Summary

Book Details

ISBN 139781787127685
Paperback414 pages
Read More
From 5 reviews

Read More Reviews

Recommended for You

Mastering Concurrency Programming with Java 8 Book Cover
Mastering Concurrency Programming with Java 8
$ 43.99
$ 30.80
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Mastering Microservices with Java Book Cover
Mastering Microservices with Java
$ 35.99
$ 25.20
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
RESTful Java Web Services - Second Edition Book Cover
RESTful Java Web Services - Second Edition
$ 35.99
$ 25.20
Learning Java Functional Programming Book Cover
Learning Java Functional Programming
$ 43.99
$ 30.80