C H A P T E R  20

Tutorial--Section 4.5
Test Run the Google Search Page

This chapter describes how to run your Suntrademark ONE Application Framework application.


Task 5: Test Run the Google Search Page with Results

Since you have created a new class and made modifications to two other classes, be sure to compile/deploy the application.

1. Right-click the Application Classes node, and select the Compile All action.

If you are running on Sun ONE Application Server, you must Deploy the application when changes are made.

2. Select the Sun ONE Application Framework Application node (JatoTutorial), and click the Deploy button on the Sun ONE Application Framework toolbar.

3. Select the GoogleSearchPage node, and click the Execute Page (Redeploy) button

Using this execute and redeploy option restarts the server to ensure the server picks up all changes and does not use any cached resources.

A default browser starts the application.

The results portion of the page initially have zeroes for values. The search returns values for those fields and a list of five links that satisfy the query string.

Try a Search

1. Enter a search query string.

In the figure shown below, the Search for is lacrosse.

2. Click the Search button.

This figure shows the results of a Google Search (in this case, the search is for lacrosse). 

3. Try other searches to see what results you receive.