Friday Feb 21, 2014

Jersey 2.6 has been Released: New and Noteworthy

As some of you may have already noticed, we've recently released Jersey 2.6. In this article I'd like to introduce some of the new features, important bug fixes and other noteworthy changes.

More in my original post on blog.dejavu.sk 

Tuesday Feb 11, 2014

JSON in Query Params or How to Inject Custom Java Types via JAX-RS Parameter Annotations

Although I am not a big fan of sending JSON in other places than in the message body as the entity, for example in query parameter in case of requests, it’s not a rare use-case and the way how it can be solved in JAX-RS 2.0 gives me a nice opportunity to illustrate usage of two new interfaces, ParamConverterProvider and ParamConverter. You can then re-use this approach to inject other media-types or formats your application relies on via @*Param annotations (@MatrixParam, @QueryParam, @PathParam, @CookieParam, @HeaderParam).

More in my original post on blog.dejavu.sk 

About

Mirror of blog.dejavu.sk

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today