Friday October 17, 2008
SOAP and REST - both equally important to Sun
"Sun moving away from SOAP to embrace REST" is the misleading title
of an article recently published in SD
Times. The article provides a good introduction to JAX-RS and
Jersey. But I really wonder what motivated the author of this
article to use this title. This blog, hopefully, provides a better
context.
Jersey is
the Reference Implementation of Java API for RESTful Web Services
(JAX-RS, JSR
311)
and was released earlier this week. The headline indicates that Sun is
leaving SOAP and will support REST. The debate between
REST and SOAP is not new and there are religious camps on both sides
(even within Sun).
And that's completely understandable because each technology has its
own merits and demerits. But just because a new JSR aimed to make
RESTful Web services easy in
the Java platform is released, it does not mean Sun Microsystems is
leaving existing technology in trenches.
The addition of Jersey to Sun's software portfolio makes the Web
services stack from GlassFish community a more compelling and
comprehensive offering. This is in contrast to "moving away"
from SOAP as indicated by the title. As a matter of fact, Jersey will
be included as part of Metro
soon,
the Web Services stack of GlassFish. And then you can use JAX-WS (or
Metro) if you like to use SOAP or JAX-RS (or Jersey) if you prefer
RESTful Web
services. It's all about a offering choice to the community instead of
showing a direction.
Here are some data points for JAX-WS:
Posted by Arun Gupta in webservices | Comments[9]
|
|
|
|
|
Today's Page Hits: 5198
Total # blog entries: 1002
"...I really wonder what motivated the author of this article to use this title."
On most magazines and newspapers, including SDTimes, (I am a columnist for them), the author of the article does not write the headline. It's written by magazine staff.
A small point, but a common misperception.
Posted by Andrew Binstock on October 17, 2008 at 04:53 PM PDT #
Controversy sells :-( - eduard/o
Posted by Eduardo Pelegri-Llopart on October 17, 2008 at 04:57 PM PDT #
Andrew - thanks for the reminder! - eduard/o
Posted by Eduardo Pelegri-Llopart on October 17, 2008 at 04:59 PM PDT #
Really nice summary Arun - and good to hear Jersey will make it into Metro for .NET interoperability.
Posted by Daniel Coward on October 17, 2008 at 05:20 PM PDT #
Arun ,
Does Jax-ws 2.0 support wsdl 2.0 and soap 1.2 spec ?
Posted by Ashok on October 20, 2008 at 04:52 AM PDT #
Ashok,
SOAP 1.2 yes, WSDL 2.0 No. AIU no customers have been asking for WSDL 2.0 yet. Are you aware of any strong usecases ?
Posted by Arun Gupta on October 20, 2008 at 05:43 AM PDT #
Arun , we had use case wher our customer asked a support for wsdl 2.0 . On evaluating java frame works found the Apache Axis2 folks are supporting it.
Just wanna know whether Jax-ws supports it or not.
If i'm correct wsdl 2.0 supports rest style invocation too rite?
Posted by Ashok on October 20, 2008 at 11:27 PM PDT #
Ashok, JAX-WS does not support WSDL 2.0 and yes WSDL 2.0 do support REST style description as well.
Posted by Arun Gupta on October 24, 2008 at 03:35 PM PDT #
bilgilendirme için çok teşekkürler başarılar diliyorum
Posted by çiçekçi on January 16, 2009 at 05:05 AM PST #