Posts Tagged: asynchronous

Why OAuth 2.0 Is Vital to IoT Security

The internet is fundamentally an unsafe place. For every service, every API, there are users who would love nothing more than to break through the various layers of security you’ve erected.

This is no small concern, either — in the US alone, security breaches cost companies in excess of $445 Billion USD annually. Read more

Is Your API Automotive Grade?

Imagine that a user has plugged into your API and triggers a request, only to be met with an error message. Now imagine all of this is happening while they’re traveling at 70mph on the highway. For Henrik Segesten, cloud domain architect at Volvo, making sure that this sort of thing doesn’t happen isn’t the stuff of bad dreams — it’s part of his day to day routine. Read more

Asynchronous APIs in Choreographed Microservices

When building microservices you have to first make a decision: How am I going to manage service-to-service communication? Most developers will answer immediately: API calls. But then, more questions come to mind:

  • Am I going to call services directly?
  • Doesn’t it block the caller service?
Read more

Building a REST API in Java and Scala Using Play Framework – Part 2

In the first part of this series, we introduced Play framework, a web development framework for Java and Scala developers, and we showed how it enabled one to expose a basic REST API with minimal effort. In this second part, we explore some of the features of Play and use real code to illustrate its capabilities. Read more

Building a REST API in Java and Scala Using Play Framework – Part 1

In this two part series we explore Play Framework, and see how it can be used for rapidly developing RESTful APIs. In part one, we introduce Play, covering the main design decisions behind its architecture and potential reasons for choosing this framework over others. Read more