users@jersey.java.net

[Jersey] JersyClient usage pattern

From: aloleary <alanoleary_at_gmail.com>
Date: Wed, 11 Nov 2009 15:26:49 -0800 (PST)

Hello..

There seems to be many ways to build requests with JerseyClient

I am wondering what is the best/most flexible approach for a detailed client
application (that will need to do advanced requests to server... follow
links etc i.e. full HATEOS to a JAX-RS/Jersey Server)

I have seen the following usage patterns:

a) WebResource + WebResource.Builder + WebResource.get/put ...

b) ClientRequest + ClientRequest.Builder + Client.handle(clientRequest)
.....

Just trying to understand the relative pro's/con's with each approach ..

Thanks
-A-


-- 
View this message in context: http://n2.nabble.com/JersyClient-usage-pattern-tp3989771p3989771.html
Sent from the Jersey mailing list archive at Nabble.com.