Lagom is a new JVM framework from Lightbend for writing microservices. This is an open source framework released at the beginning of 2016. At the time of writing this book, the latest version is 1.5.1. You can find the source code on GitHub at https://github.com/lagom/lagom. From there, you can navigate to the framework website, which contains more details and its documentation.
Lagom comes with support for four main features—service API, persistence API, development environment, and production environment.
You declare the service API and implement the services to be consumed by the clients. A service-locator component allows the services to be discovered. Furthermore, the API allows for a synchronous request-response protocol as well as asynchronous streaming.
The Persistence API provides support for persisting the domain entities in your services. Lagom handles...