When a user accesses the database, the applet runs on their machine in their browser. During developement, the application may additionally be tested as a stand-alone application or with the appletviewer program. These methods allow the program to be tested under circumstances where the first method is not operational. Most features of the applet, including connecting to the database and making queries, can be tested with all three methods. The applet must be run in a browser to test redirecting the browser to the final results.
To run the applet in the browser, guide the browser to http://cobweb.ecn.purdue.edu/~asldata/asldbsearch.html
Type in the username and password. It is necessary to do this twice; once for the page and once for the applet.
To run the applet as a stand-alone application, use
cd ~/public-web java asldbsearchTo run the applet with appletviewer, use
cd ~/public-web appletviewer asldbsearch.htmlNote again that neither the stand-alone application nor the appletviewer can redirect the browser, so neither of these methods can test viewing the results page.