Book description
Master the art of implementing scalable microservices in your production environment with ease
About This Book
- Use domain-driven design to build microservices
- Use Spring Cloud to use Service Discovery and Registeration
- Use Kafka, Avro and Spring Streams for implementing event based microservices
Who This Book Is For
This book is for Java developers who are familiar with the microservices architecture and now wants to take a deeper dive into effectively implementing microservices at an enterprise level. A reasonable knowledge level and understanding of core microservice elements and applications is expected.
What You Will Learn
- Use domain-driven design to design and implement microservices
- Secure microservices using Spring Security
- Learn to develop REST service development
- Deploy and test microservices
- Troubleshoot and debug the issues faced during development
- Learning best practices and common principals about microservices
In Detail
Microservices are the next big thing in designing scalable, easy-to-maintain applications. It not only makes app development easier, but also offers great flexibility to utilize various resources optimally. If you want to build an enterprise-ready implementation of the microservices architecture, then this is the book for you!
Starting off by understanding the core concepts and framework, you will then focus on the high-level design of large software projects. You will gradually move on to setting up the development environment and configuring it before implementing continuous integration to deploy your microservice architecture. Using Spring security, you will secure microservices and test them effectively using REST Java clients and other tools like RxJava 2.0. We'll show you the best patterns, practices and common principals of microservice design and you'll learn to troubleshoot and debug the issues faced during development. We'll show you how to design and implement reactive microservices. Finally, we'll show you how to migrate a monolithic application to microservices based application.
By the end of the book, you will know how to build smaller, lighter, and faster services that can be implemented easily in a production environment.
Style and approach
This book starts from the basics, including environment setup and provides easy-to-follow steps to implement the sample project using microservices.
Table of contents
- Preface
-
A Solution Approach
- Evolution of microservices
- Monolithic architecture overview
-
Limitation of monolithic architecture versus its solution with microservices
- Traditional monolithic design
- Monolithic design with services
- Services design
- One dimension scalability
- Release rollback in case of failure
- Problems in adopting new technologies
- Alignment with Agile practices
- Ease of development – could be done better
- Microservices build pipeline
- Deployment using a container such as Docker
- Deployment
- Summary
- Setting Up the Development Environment
- Domain-Driven Design
- Implementing a Microservice
- Deployment and Testing
- Reactive Microservices
- Securing Microservices
- Consuming Services Using a Microservice Web Application
-
Best Practices and Common Principles
- Overview and mindset
- Best practices and principles
-
Microservices frameworks and tools
-
Netflix Open Source Software (OSS)
- Build - Nebula
- Deployment and delivery - Spinnaker with Aminator
- Service registration and discovery - Eureka
- Service communication - Ribbon
- Circuit breaker - Hystrix
- Edge (proxy) server - Zuul
- Operational monitoring - Atlas
- Reliability monitoring service - Simian Army
- AWS resource monitoring - Edda
- On-host performance monitoring - Vector
- Distributed configuration management - Archaius
- Scheduler for Apache Mesos - Fenzo
- Cost and cloud utilization - Ice
- Other security tools - Scumblr and FIDO
-
Netflix Open Source Software (OSS)
- References
- Summary
- Troubleshooting Guide
- Migrating a Monolithic Application to Microservice-Based Application
Product information
- Title: Mastering Microservices with Java 9 - Second Edition
- Author(s):
- Release date: December 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787281448
You might also like
book
Mastering Microservices with Java - Third Edition
Master the art of implementing scalable and reactive microservices in your production environment with Java 11 …
book
SRE with Java Microservices
In a microservices architecture, the whole is indeed greater than the sum of its parts. But …
book
Testing Java Microservices
Testing Java Microservices teaches you to implement unit and integration tests for microservice systems running on …
book
Java EE 8 Application Development
Develop Enterprise Java applications compliant with the latest version of the Java EE specification About This …