Book Image

Programming Kotlin

Book Image

Programming Kotlin

Overview of this book

Quickly learn the fundamentals of the Kotlin language and see it in action on the web. Easy to follow and covering the full set of programming features, this book will get you fluent in Kotlin for Android.
Table of Contents (20 chapters)
Programming Kotlin
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Lagom


Lagom is a new JVM framework from Lightbend for writing microservices. This is a new open-source framework released at the beginning of 2016. At the time of writing this book, version 1.2 is out. You can find the source code on GitHub 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.

Through Service API you declare 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 your domain entities in your services. Lagom takes care of the distribution of those persisted entities across a cluster of nodes, enabling sharding and horizontal scaling with Cassandra...