Sample J2EE Applications


Chapter 1   Using the Samples

The SilverStream Application Server provides three complete sample applications developed according to J2EE (Java 2 Platform, Enterprise Edition) specifications:

 
Top of page

Installing and running the sample applications

By default, the J2EE sample applications are installed on your hard drive when you install the SilverStream Application Server. The directories that are installed for the J2EE sample applications include:

Directory

Description

samples

The root directory for the SilverStream J2EE sample applications and other code examples.

samples\SilverBooks

The subdirectory containing the SilverBooks sample application files.

It contains a \Cloudscape and a \SybaseASA subdirectory. These subdirectories each contain a database with an already deployed SilverBooks EAR file. Once you have added one of these databases to the SilverStream Application Server, you can run the SilverBooks application.

The SilverBooks directory also contains a \src directory that includes the SilverBooks source files.

samples\PetStore

The subdirectory containing the Pet Store sample application files.

    For more information on the Pet Store application and how to deploy it to a SilverStream Application Server, see Java Pet Store.

To install and run the sample applications:

  1. Install the SilverStream Application Server with these options:

  2. If you chose Typical install, you must add the sample database to your server--by using the Add Database utility or the AddDatabase SilverCmd, or by selecting Add Database from the Main Designer.

Once you’ve added the SilverBooks database to the server, you can run it. See SilverBooks for more information.

    For information on adding the Java Pet Store database and running the application, see Java Pet Store. For information on adding and running the HTML SML, see HTML SMC.

    For more information about installation options, see the SilverStream Application Server Installation Guide.


Sample J2EE Applications

Copyright © 2001, SilverStream Software, Inc. All rights reserved.