[PJUG Javamail] SOAP or REST?

Martin Hald mhald at eduworks.com
Wed Mar 18 18:54:14 EST 2009


Usage statistics may be telling - Amazon has deployed web services  
with both REST and SOAP interfaces and 85% of the usage is through the  
REST interface.  I've work on and with both SOAP and REST APIs and by  
far prefer working with REST because it is easier to test (just use a  
browser) and I find it easier to map functionality to a REST style  
service (using HTTP requests such as GET, POST, DELETE, etc).  If your  
in doubt which way to go CXF (Apache's latest web service framework)  
has bindings for both SOAP and REST.

-m

On Mar 18, 2009, at 10:59 AM, Siraj Podikunju wrote:

> I could not make it to the meeting last night but this was the  
> question
> I had been hoping to get an answer to.
>
> Thanks.
>
> Richard Johnson wrote:
>> Hi all,
>>
>> Thanks Sean for yet another wonderful presentation last night.  We
>> didn't really discuss why one would choose a REST connection or SOAP
>> connection when setting up services or clients, other than the  
>> obvious
>> "because that's what's provided."  Are there distinctions that make
>> such a discussion worthwhile?    At the risk of a religious war, I'll
>> toss out the question.
>>
>> Why should I choose either SOAP or REST when setting up an
>> architecture for services or clients?
> -- 
> Siraj Podikunju
> SP Consulting, Inc.
> Tel: 360-600-6608
> Fax: 360-260-3448
> E-Mail: sirajp at spconsult.com
>
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail

Cheers,

-m




office:   971-249-4303
mobile: 503-510-4932
fax:       503-345-3414
mhald at eduworks.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pjug.org/pipermail/javamail/attachments/20090318/ecb267d0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1856 bytes
Desc: not available
Url : http://www.pjug.org/pipermail/javamail/attachments/20090318/ecb267d0/attachment.gif 


More information about the Javamail mailing list