Wednesday Feb 04, 2015

Jersey's Entity Filtering meets Jackson

Support for Entity Filtering in Jersey introduces a convenient facility for reducing the amount of data exchanged over the wire between client and server without a need to create specialized data view components. The main idea behind this feature is to give you means that will let you selectively filter out any non-relevant data from the model before sending the data to the other party.

Entity Data Filtering is not a new feature but so far the support was limited to MOXy JSON provider. Since Jersey 2.16, we support also Jackson (2.x) JSON processor and in this article we’re going to take a look into it in more detail.

More in my original post on blog.dejavu.sk 

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
« March 2015
SunMonTueWedThuFriSat
1
2
3
4
5
7
8
9
10
12
13
14
15
16
18
19
20
21
22
23
25
26
27
28
29
30
31
    
       
Today