 | Level: Intermediate Nicholas Chase , Author, Web site developer
15 May 2002 The Google search engine can now be accessed via a SOAP-based Web service. This means that developers can now embed Google search results and other information into their own applications. Google also took this project one step further, creating an API and Java toolkit for accessing the data. This tutorial is for developers who want to use Google information from within their Java applications.
Prerequisites
Developers need to be familiar with Java, and will need an Internet connection to access the Google service. An understanding of Web Services is not required to use the API.
System requirements
Make sure that the following tools are installed and tested before beginning the tutorial.
- JavaTM 2 SDK, Standard Edition version 1.3.1 or higher: The sample applications demonstrate manipulation of the DOM through Java. You can download the Java SDK from http://java.sun.com/j2se/.
- The Google API, available at http://www.google.com/apis/.
- The last section of this tutorial deals with sending SOAP messages directly, rather than through the API. To run these samples, you'll need the Java API for XML Messaging, or JAXM. It's available as part of the Java XML Pack, at http://java.sun.com/xml/downloads/javaxmlpack.html.
You'll need JavaScript enabled in your browser.
Duration
Under two hours
Formats html, pdf
|  | |  |