Application architecture
We built an online e-commerce shop using JHipster in Chapter 3, Building Monolithic Web Applications with JHipster. It was built as a monolith since the scope was small and it was an easier choice to start with. Let's say that our e-commerce store has grown tremendously in terms of users and scope, resulting in a more demanding situation. The team is finding it difficult to roll out features faster with the monolithic architecture, and would like to have more control over individual parts of the application.
One of the solutions to this problem would be to adopt a microservice architecture. The application was created using JHipster; the option to move to microservices is much easier to accomplish. JHipster follows the proxy microservice pattern in which there is an aggregator/proxy in front of the services, which acts as the gateway for the end users. In much simpler terms, JHipster creates a gateway (which handles all the user requests) and the individual services...