Developing applications by following a microservices architecture has been a popular way of developing software for a while now. During this time, a series of design patterns and best practices have emerged.
These new design patterns can be applied to avoid common microservices pitfalls, particularly, event-driven architectures have become a popular way to develop distributed systems with microservices.
In this guide, we will cover some of these common microservices design patterns and best practices, and show how these best practices can be implemented in Java EE and Payara Micro.
Here are some of the topics covered in the guide:
- Design Patterns Typically Used in an Event-Driven Architecture
- Database Per Service
- Event Sourcing
- Message Brokers
- Example Using Payara Micro
The author David Heffelfinger is a Java Champion and Apache NetBeans committer, as well as an independent consultant focusing on Java EE. He is a frequent speaker at Java conferences and is the author of several books on Java and related technologies, such as “Java EE 8 Application Development”, “Java EE 7 with GlassFish 4 Application Server” and others.
David was named by TechBeacon as one of 39 Java leaders and experts to follow on Twitter. You can follow David on Twitter at @ensode