The application is decomposed into smaller components

While developing an application based on microservices architecture, we should consider breaking the application into smaller components that will be changed and deployed separately (as opposed to a monolithic application that must be fully deployed with every change of code). However, splitting an application into small services that act independently requires a longer development time. 

The following diagram shows the access of the client of an application to a business component:

The following diagram shows the same client accessing the same functionality via microservices:

Because ...

Get Java EE 8 Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.