Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28970

Re: Java API for RESTful Services

Date 2014-07-06 12:30 -0400
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Java API for RESTful Services
References <27ea72bb-99ad-4a0f-bca4-c3cbafdf032a@googlegroups.com> <53b973e1$0$291$14726298@news.sunsite.dk> <a8ae7ef9-01ee-41e9-9416-b78a226d3572@googlegroups.com>
Message-ID <53b979bf$0$299$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 7/6/2014 12:26 PM, jason.petersson@gmail.com wrote:
> On Sunday, July 6, 2014 9:05:52 AM UTC-7, Arne Vajhøj wrote:
>> I believe JAX-RS 2 comes with a client API.
>>
>> Commonly used implementations like Jersey and RESTEasy also comes
>> with client API's.
>>
>> But I think a lot of developers just use plain Apache HttpClient
>> and whatever JSON or XML library they need to handle the data.
>>
>> REST services are not like WS-* SOAP services.

> Excellent. I will look into Jersey and RESTEasy as well. I have been
 > using Apache HttpClient which works well I am just curious if there
 > are additional API's used that provide additional features specific
 > for REST.

There are so little you need to do RESTful style. HTTP, 4 methods,
headers, URL and body.

The data handling depends a lot on whether you use XML or JSON or CSV or
whatever format.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java API for RESTful Services jason.petersson@gmail.com - 2014-07-06 09:01 -0700
  Re: Java API for RESTful Services Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 12:05 -0400
    Re: Java API for RESTful Services jason.petersson@gmail.com - 2014-07-06 09:26 -0700
      Re: Java API for RESTful Services Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 12:30 -0400
        Re: Java API for RESTful Services Jason Petersson <jason.petersson@gmail.com> - 2014-07-06 09:48 -0700
          Re: Java API for RESTful Services Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 19:12 -0400
  Re: Java API for RESTful Services Daniele Futtorovic <da.futt.news@laposte.net> - 2014-07-06 22:35 +0200
  Re: Java API for RESTful Services Joerg Meier <joergmmeier@arcor.de> - 2014-07-08 00:14 +0200

csiph-web