Java[tm] Smart Ticket Demo 1.1.1 > Running the Sample Application

Running the Sample Application

These instructions describe how to run the sample application using the J2EE SDK and the J2ME Wireless Toolkit.

If you are running the J2EE and J2ME parts on different machines, refer to "Configuring the Sample Application" before using these instructions.

  1. Start the Cloudscape database server, which comes with the J2EE SDK.

  2. Start the J2EE Reference Implementation server, which comes with the J2EE SDK.

  3. Deploy the J2EE part of the application using the J2EE RI deployment tool.

  4. Run the MIDP part of the application using the J2ME Wireless Toolkit.

    A phone emulator will appear, showing the Java Smart Ticket Demo splash screen.

If you are running the application for the very first time, follow these additional steps:

  1. Populate the Cloudscape database with the demo's data.

  2. Fill out the user preferences form to create a new user account.

You can now use the application.


© 2002 Sun Microsystems, Inc. All rights reserved.