Stefan Tilkov's Random Stuff

REST Hype

Sanjiva Weerawarana is pretty angry at Tim Bray. Read if you're in the mood for a little useless war … 

One thing I'd note - Sanjiva writes:

REST is now beyond the peak of the hype curve and is sliding down. Waay down.

REST is now being seriously hyped, and it will eventually follow the inevitable curve – no objections (even though I saw things differently little over half a year ago). But I disagree it's beyond the peak already, on the contrary: it's still going way, way up.

For the record, I don't think the hype has got much to do with actual technical facts, positive or negative. Also for the record, I don't think users in general accept REST has won and the SOAP stack is a failure – in fact, most of them still don't know there are any doubts about how great WS-* is.

Still, I can't resist to respond to Sanjiva again:

Oh yeah we support both WS-* and RESTful services. However, they won't meet the RESTafarian fanatics like Tim Bray's coolaid drunkenness level of REST ..

You mean you don't like people to point out that Axis2's "REST support" has got nothing to do with REST? ;-)

Here's a very good summary of the problems when trying to align the WS-* and REST models:

IMO the real underlying problem is that as long as programmers expect to write a class and flip a switch to get a service or one or more RESTful resources then we have nothing really but RPC masquerading as something else. Both resource and service advocates would be well-off in trying to move the developer community to get past the “class is all I need” stage. If REST is successful in getting developers to get their hands dirty more power to it.

Guess who wrote this?

Comments

On July 25, 2008 4:39 PM, Subbu Allamaraju said:

Was just looking for the same references :)

I have seen a similar post about using JAX-WS for RESTful applications by one of Sun engineers. It was way too complicated to implement, and it also misrepresented HTTP.

Subbu

On September 15, 2008 8:15 PM, Keith Author Profile Page said:

I guess you might wanna have a look at how WSDL 2.0 can be used in Axis2 to write RESTfull services. That blog post actually explains how it can be done in the Mashup Server (but its built on Axis2) and using the Mashup Server you can get the benefits of WSDL 2.0 without knowing anything about WSDL. Its all handled under the covers.