Sun Java System Application Server 

Samples Index

The GuessNumber Sample Application

The GuessNumber application uses a number-guessing game to demonstrate a small set of standard components along with page navigation and validation.

The general instructions for building, deploying, and running sample applications are provided in Building, Deploying, and Running Sample Applications. In reading this document, use the following application-specific variables for this application:

Follow this general procedure:

  1. Build the Application. The build file, build.xml, is in the app_dir directory, specifically, install_dir/samples/jsf/apps/guessNumber/.
  2. Deploy the Application. The WAR file is install_dir/samples/jsf/apps/guessNumber/jsf-guessNumber.war.
  3. Run the Application. The application name is jsf-guessNumber.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.