Quantcast
Browsing all 22 articles
Browse latest View live

Multipart Form Data File Uploading Made Simple with REST Assured

From a client perspective it has always seemed to me that uploading a large file or stream to a server using multi-part form data encoding in Java is overly complex. To address this I […]

View Article


Improve Your Spring REST API, Part I

After watching Jonathan Dahl’s presentation about API design from the Øredev conference last year, especially the parts about Smart Validations, it is apparent that you can do much more to help your...

View Article


Improve Your Spring REST API, Part II

In the previous blog post, I explained how a custom @ExceptionHandler can be used to return feedback to REST API clients when they are submitting erroneous requests. However, the suggested...

View Article

What you may not know about HTTP redirects

Yesterday we wrote some integration tests using the REST Assured framework to verify URL authorization for our web application configured with Spring Security. Spring Security is configured to redirect...

View Article

Improve Your Spring REST API, Part III

Some time ago, I wrote about how the error response of a Spring based REST API can be enhanced, in order to provide the clients with a better understanding of why a request error […]

View Article


Volley, networking for android.

This post is outdated and I urge you to go have a look at the official google training material instead. Most projects I have worked on needed some sort of network engine, and in most cases we […]

View Article

Improve Your Spring REST API, Part IV

Spring 4 is around the corner. Milestone releases has been available for a while, the first release candidate was released earlier today, and the final release is expected before the end of this year. […]

View Article

Async Servlets

It is now about four and a half years since the Servlet 3.0 specification was released in December 2009, together with Java EE 6. One feature that came in Servlet 3.0 was the possibility […]

View Article


Spring Boot Error Responses

I have written about Spring’s support for web response error handling a few times before (e.g. about custom error responses and how they can be generalized). This time, we will take a look at […]

View Article


Creating an API for a Rock-paper-scissors Game – using ASP.NET Web Api

Introduction In earlier posts we often used the domain for a simple rock-papers-scissors game. In this post we’re going to re-use the domain and create an HTTP API. The RPS domain was created using […]

View Article

Scaling out with Spring Session

Stateless architecture has become increasingly popular during resent years and for good reasons. However, stateful session based applications continue to play an important role, for example when...

View Article

Gzipping in Pedestal + Jetty 9.3

There is a sample in the Pedestal repo for how to get responses gzip compressed by using the GzipFilter from Jetty 9.2. This filter has, however, been removed in Jetty 9.3 and perhaps you […] The post...

View Article

Improve Your Spring REST API, Part II

In the previous blog post, I explained how a custom @ExceptionHandler can be used to return feedback to REST API clients when they are submitting erroneous requests. However, the suggested...

View Article


What you may not know about HTTP redirects

Yesterday we wrote some integration tests using the REST Assured framework to verify URL authorization for our web application configured with Spring Security. Spring Security is configured to redirect...

View Article

Improve Your Spring REST API, Part III

Some time ago, I wrote about how the error response of a Spring based REST API can be enhanced, in order to provide the clients with a better understanding of why a request error […] The post Improve...

View Article


Volley, networking for android.

This post is outdated and I urge you to go have a look at the official google training material instead. Most projects I have worked on needed some sort of network engine, and in most cases we […] The...

View Article

Improve Your Spring REST API, Part IV

Spring 4 is around the corner. Milestone releases has been available for a while, the first release candidate was released earlier today, and the final release is expected before the end of this year....

View Article


Async Servlets

It is now about four and a half years since the Servlet 3.0 specification was released in December 2009, together with Java EE 6. One feature that came in Servlet 3.0 was the possibility […] The post...

View Article

Spring Boot Error Responses

I have written about Spring’s support for web response error handling a few times before (e.g. about custom error responses and how they can be generalized). This time, we will take a look at […] The...

View Article

Creating an API for a Rock-paper-scissors Game – using ASP.NET Web Api

Introduction In earlier posts we often used the domain for a simple rock-papers-scissors game. In this post we’re going to re-use the domain and create an HTTP API. The RPS domain was created using […]...

View Article
Browsing all 22 articles
Browse latest View live