Category Archives: REST

Implementing bulk updates within RESTful services

In a first post, we describe how to design a Web API (i.e. RESTful service). It deals with foundations on the way to implement REST principles. You can have a look at this post at the URL The latter … Continue reading

Posted in REST, Web API | Tagged , , , , , | 1 Comment

Handling multiple actions for a POST method

When we go a bit ahead from the CRUD scope of REST, we often need to support several actions for a same resource. This is typically handled by a method POST and we need to implement a processing to route … Continue reading

Posted in JAX-RS, REST, Restlet | Tagged , , , , , | Leave a comment

Getting started with RestEasy

RestEasy is the REST framework of JBoss. It can be reached from the address http://. This framework implements the JAX-RS specification and allow to implement RESTful services. The latters can be deployed within any JavaEE Web container, not only the … Continue reading

Posted in REST, RestEasy | Tagged , , , | Leave a comment

Optimizing Restlet server applications

There are several ways to optimize Restlet applications. We can leverage features of the HTTP protocol itself like caching or compression but also at the level of third-party tools like Restlet converters and template engines. This allows to have an … Continue reading

Posted in REST, Restlet, Tips | Tagged , , , , | Leave a comment

Implementing authentication with tokens for RESTful applications

One of the key principles of REST is that its stateless. This means that the server never keeps user state. In the context of security, this aspect has impacts when implementing security. This means that authentication hints must be sent … Continue reading

Posted in REST, Web API | Tagged , , , , | 3 Comments

Using batch requests when interacting with OData v4 services with Olingo

In previous posts, we described how to read data from OData v4 services with Olingo and how to update them. OData (and Olingo) provides a powerful feature to send several calls in a single one (batch requests). We will tackle … Continue reading

Posted in Java, Olingo, REST | Tagged , , , | 2 Comments

Designing a Web API

A Web API corresponds to an application programming interface that can levarage the Web technologies to execute processing and manipulate data. Modern Web APIs follow the REST principles to be the easiest to use as possible and lightweight. Typically it … Continue reading

Posted in REST, Web API | Tagged , , , , | 2 Comments