7. Multi-Search Application

The Multi-Search application is a search engine client that submits a single query to several search engines simultaneously and displays the results. This type of task is useful for situations where you need an overview of results from more than one source. It applies the Aggregator Application pattern as a solution.

The application is entirely client side and communicates to remote servers for search data. Typically this wouldn’t be possible due to the Same Origin policy in web browsers (discussed in Chapter 3), but this chapter illustrates a way to bypass this restriction. The application uses this technique to get search results from Yahoo! Search, Google Base, Amazon Books, and Flickr. You’ll find ...

Get Google™ Web Toolkit Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.