Skip to Content
Scala Reactive Programming
book

Scala Reactive Programming

by Rambabu Posa
February 2018
Intermediate to advanced
552 pages
13h 46m
English
Packt Publishing
Content preview from Scala Reactive Programming

Lagom System API

In a Lagom Reactive System, the API (servicename-api) part contains the blueprint or interface or contract of that service. It defines the contract or skeleton or template of that API endpoint.

Each API may have one or more endpoints. We define each API endpoint's details in this service, such as the URI of that endpoint, any path parameters, any query parameters, and how to handle a request.

We define a function that actually does the handling of API endpoint requests coming from users, customers, or clients.

We can define this API service as a separate microservice. We will explore how to define API endpoints and how to map them to functions in the coming sections.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scala Programming Projects

Scala Programming Projects

Mikael Valot, Nicolas Jorand
Learning Scala

Learning Scala

Jason Swartz
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano

Publisher Resources

ISBN: 9781787288645Supplemental Content