RESTful Web Services with Scala

RESTful Web Services with Scala

English | 2015 | ISBN: 978-1785289408 | 206 Pages | EPUB, AZW3, PDF (conv) | 13 MB

Learn the art of creating scalable RESTful web services with Scala
RESTful web services are built to work best on the web. Scala provides a rich set of language constructs and advanced frameworks that you can use to create REST services. However, using Scala and these tools can be a complex task. There are many frameworks available and choosing the wrong framework or approach can cost a lot of time and lead to much frustration. By exploring the most popular Scala REST frameworks, you can make sure you choose the right tool.
RESTful Web Services with Scala begins with a brief explanation of the REST architecture and its implementation in Scala, as well as the impact that REST architecture has on Scala applications. You will understand the advantages of building Scala web services and how existing Scala applications can take advantage of REST. This book will teach developers about the different programming paradigms available in the Scala world to create RESTful services by exploring the most popular Scala-oriented REST frameworks. It discusses the various facets of RESTful web services such as building scalable APIs, working with standards like HTTP and MIME, designing the architecture, securing the web service, and more.
With this book, you will be able to build RESTful web services with various Scala frameworks such as Finch, Unfiltered, Scalatra, Akka-HTTP, and Play. You will create basic REST services using frameworks and then extend the REST services with custom functionality. By the end of the book, you’ll be able to decide which framework is best suited for your requirements. We finish by looking at how we can use a number of advanced features provided by these frameworks, such as security, creating HTTP clients, working with HATEOAS, and more.
What You Will Learn

  • Set up a development environment to easily develop and test REST services
  • Discover the different ways in which you can create REST services with Scala
  • See and explore the different approaches taken by popular REST frameworks
  • Get to know more about a variety of available Scala frameworks such as Finch, Unfiltered, Scalatra, Akka-HTTP, and Play
  • Discover how to create a REST service on top of each framework discussed in this book
  • Create HTTP clients using the frameworks in this book
  • Make an informed decision about which framework to use in a specific situation
  • Set up authentication for your REST services
Homepage