Defining RESTful web service endpoints is really very easy using Spray routing. However, it is equally important to support right data representation and be ready to dial with failure conditions.
- [Andriy] Hi, and welcome to the third video…of the third section.…In the previous video, we discussed spray-routing module…and the power it brings for defining RESTful web services…in spray framework using routes.…In this video, we're going to continue our acquaintance…with spray-routing module capabilities…by discussing marshalling support…and handling failure conditions.…In the previous video, we had finished up…by creating the fully fledged book catalog…RESTful web services skeleton, but there are a couple…of the topics we have not yet touched on.…
Embark on an exciting journey into the universe of web development using the Scala programming language and frameworks—natural choices for back-end developers building highly scalable, reliable, and reactive RESTful web services and APIs. This training is the starting point for mastering the nonblocking and asynchronous programming models that lie in the heart of the Spray framework. It starts with an introduction to the REST architecture. Then switch gears to the Akka toolkit and framework, building a sample book catalog application along the way.
Once you've learned about the REST architectural style and Actor model—the foundations that the Spray framework is built upon—you'll shape out your own RESTful web services by providing simple route definitions. Further on in the course, author Andriy Redko delves into authentication and authorization, secure transport, documentation, testing, and caching support. Finally, you will learn how to develop the Spray client API to call external web services.
- The Actor model and Akka framework
- RESTful architecture principles and constraints
- Building RESTful services
- Core Spray framework modules such as spray-can, spray-routing, spray-json, spray-caching, and spray-client
- Securing RESTful web services and APIs with Spray
- Configuring Spray applications with HTTPS support
- Documenting Spray RESTful web services using Swagger
- Caching basics
- Calling external RESTful services