Have you ever tried to have to produce a multiple rappresentation of the same resources? I’m speaking about produce a common json and xml and, also, custom rappresentation like text/html which is not very common for data exchanging.
In this article I’d like to show you how produce multiple response format of Jersey resources. The type of response format will depend from resource extension request.
Continue reading “5 minutes with – Jersey Producers”
This week I’ve had to use the cookies inside a RESTful service made by Jersey.
That’s not very complicated, you must only remember the execution flow at jersey request to make a good work. In this post I’d like to describe this flow sending a cookie in every response and read it again.
Continue reading “5 minutes with – Cookie in Jersey”
In one of my project, I used a Jersey framework to build a REST application. In this post I’ll introduce this lightweight framework that implements JAX-RS (JSR 311) references. If you are familiar with Spring MVC Rest you’ll find it very similar (obviously because both implement JAX-RS ).
Continue reading “Jersey – RESTful service”