Fetching, aggregating and transforming data for delivery is a seemingly complex task. Imagine a service that serves aggregated search results from Twitter, Google and Bing where the response has to be tailored for mobile and web. One has to fetch data from different sources, parse and compose the results then transform them into the right markup for delivery to a specific client platform. To cook this I'll need: - a web server - a nice way to aggregate … read on »
All posts tagged as “REST”
Using Spring 3.0 MVC for RESTful web services (rebuttal)
Update Mar.04 Thanks to @ewolff some of the points described below are now official feature requests. One (SPR-6928) is actually scheduled in Spring 3.1 (cool!). I've updated the post and added all open tickets. Please vote! This post is somewhat a response to InfoQ's Comparison of Spring MVC and JAX-RS. Recently I have completed a migration from a JAX-RS implementation of a web service to Spring 3.0 MVC annotation-based @Controllers. The aforementioned post on InfoQ was published … read on »
Upgrading to Spring 3.0
In the spirit of beta I'm upgrading spincloud.com to Spring 3.0. I'm using version 2.5.6 currently but it's missing REST support and I had to use Carbonfive's REST library which worked like a charm. Now it's time to get back under Spring's fold and use their built-in REST support. Spring 3 opens the door to a lot of new features so I'm eager to try it. I'm using Maven2 to get the jars and Ant to … read on »
REST is DSL
I like RESTful URLs. They clearly express the intent of the provided resource. We humans speak a language close to REST when we talk to The Internet. Take a look at Google's RESTful search query, probably the most used RESTful URL ever: http://www.google.com/search?q=your-terms-of-choice in freeform language this translates to: "Google, search for this term." How about the Flickr RESTful tag cluster search service: http://api.flickr.com/services/rest/?method=flickr.tags.getClusters& api_key=a6f11b67ae348a7b3f2da0d865b8bc1d&tag=Berlin In Flickr lingo this means: "Fetch all tag clusters for the 'Berlin' tag". It doesn't take much to … read on »

