February 2018
Intermediate to advanced
552 pages
13h 46m
English
Lagom Framework has an embedded Service Locator in the development environment. It allows services to discover and communicate with each other. By default, this Service Locator runs on port 9008, but it is possible to use a different port.
The major goal or benefit of the Lagom Service Locator is to support Location Transparency. This means that the client does need to know where those services are available. Even though they are available remotely somewhere in a clustered environment, the client feels that they are available locally.
We can find the implementation of this component in the lagom-service-locator_2.11-1.3.10.jar file. When we start our local application using sbt runAll, we can observe the following log ...