RESTful Web Services
-
Enterprise Java
Spring from the Trenches: Adding Validation to a REST API
I am a bit ashamed to admit this but until yesterday, I had no idea that I can add validation…
Read More » -
Enterprise Java
Spring MVC – Easy REST-Based JSON Services with @ResponseBody
Spring 3 makes JSON REST services really easy. This tutorial will show you how in just a few steps. You…
Read More » -
Enterprise Java
REST with Apache Camel
There are many ways to expose an HTTP endpoint in Camel: jetty, tomcat, servlet, cxfrs and restlet. Two of these…
Read More » -
Enterprise Java
Expressive JAX-RS integration testing with Specs2 and client API 2.0
No doubts, JAX-RS is an outstanding piece of technology. And upcoming specification JAX-RS 2.0 brings even more great features, especially…
Read More » -
Enterprise Java
Java: Rest-assured (or Rest-Very-Easy)
Recently I had to write some Java code to consume REST services over HTTP. I’ve decided to use the Client…
Read More » -
Enterprise Java
Exception Handling for REST with Spring 3.2
1. Overview This article will focus on how to implement Exception Handling with Spring for a REST API. We’ll look…
Read More » -
Enterprise Java
Going REST: embedding Tomcat with Spring and JAX-RS (Apache CXF)
This post is logical continuation of the previous one. The only difference is the container we are going to use:…
Read More » -
Enterprise Java
Going REST: embedding Jetty with Spring and JAX-RS (Apache CXF)
For hardcore server-side Java developer the only way to ‘speak’ out to the world is by using APIs. Today’s post…
Read More » -
Enterprise Java
Testing REST with multiple MIME types
1. Overview This article will focus on testing a RESTful Service with multiple Media Types/representations. This is the tenth of…
Read More »