O'Reilly logo

RESTful Java Web Services by Jose Sandoval

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Accessing RESTful Services — Part 2

In this chapter, we develop a mashup application that uses freely-available RESTful web services. Our application connects to Google, Yahoo!, Twitter, and TextWise's SemanticHacker API. We make extensive use of Ajax calls and we study in detail how to consume JSON objects. The main technologies we use for the sample application are HTML, Java Servlets, JavaScript, and Prototype's Ajax library.

Getting the tools

The only new software we need to download for this chapter is the Prototype JavaScript library, assuming we have all the tools already installed from Chapter 2, Accessing RESTful Services—Part 1.

Prototype is available at http://www.prototypejs.org/download.

Each of the APIs we use are available ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required