Silverstream comes with a set of sample applications that provide real-world examples you can use to explore SilverStream product features and to learn techniques for fine-tuning your own applications. This section covers the following topics:
Here are links to the sample applications that are shipped with the SilverStream product as databases that you can install and run:
Application | Database |
---|---|
EJB examples |
Examples3_EJB
Accessor3 |
HTML client examples | Examples3_HTML |
Java client examples | Examples3_Java |
Data publishing utility | DataXPress3 |
Electronic commerce |
SilverBooks3
WineDemo3 |
Web site construction | WebSite3 |
Each link takes you to a detailed description of the sample application. Where appropriate, you will also find implementation instructions, in-depth explanations of the techniques demonstrated by the sample, and references to relevant conceptual and procedural information.
Sample applications are installed on your hard drive and accessible as Sybase Adaptive Server Anywhere databases when you install the SilverStream product with specific options. After installation, you must add the sample databases to your server before you can run the applications. These procedures are described below.
To install and run sample applications:
Type of install | What happens |
---|---|
Typical install | Installs all sample applications and creates their ODBC settings, but does not add them to your server. This option is recommended to conserve space on the server. |
Full install | Installs all sample applications, creates their ODBC settings, and adds all sample applications to your server at once. |
Custom install | If you select Sample databases, installs sample applications you select, creates their ODBC settings, and adds them to your server. |
By default, you can access these databases with the user name dba and password sql.
Sample application | How to invoke |
---|---|
Accessor3
DataXPress3 Examples3_EJB Examples3_HTML SilverBooks3 WineDemo3 |
Run in a browser. |
Examples3_Java | Run as a standalone process in SilverJRunner. |
WebSite3 | See implementation instructions. |
To run sample applications in a browser:
The following sample application databases are designed to run in a browser:
The home page of the sample application opens in your browser.
To run sample applications as standalone processes in SilverJRunner:
The following sample database is designed to run as standalone applications:
For this database: | Select this form: |
---|---|
Examples3_Java | frmMenu |
The home page of the sample application opens in SilverJRunner, providing links to interactive examples, usage instructions, and information about techniques.