Application Techniques



Preface


Purpose   Top of page

This online guide presents programming techniques for implementing specific features in the SilverStream applications you build. It focuses on example code that you can follow and copy.

Audience   Top of page

Use this guide if you're a programmer responsible for building or maintaining SilverStream applications. This includes applications that you develop with SilverStream and/or third-party tools, and that you run on the SilverStream Application Server.

Background   Top of page

If you want to learn more about the concepts and facilities related to a particular technique, you'll typically find that information in one of these books:

Examples   Top of page

Many of the techniques in this guide are included in one of the SilverStream sample databases so that you can run them and study their objects in detail. To access these live examples, you must first:

  1. Install the sample databases that interest you. Common ones include:

  2. Make sure these databases are running on your localhost SilverStream Server. You can do this in the SilverStream Main Designer (or with the SilverCmd AddDatabase command line tool).

        For more information, see the Tools Guide.

    Your localhost SilverStream Server must be listening at the default port (80).

Using SilverJRunner for form-based examples

If the technique you're reading links to a SilverStream form example, you'll need to have SilverJRunner installed to access that example. This is because these links point to SJR files, which start SilverJRunner and specify the SilverStream Server machine (in this case, localhost), metadata database (usually Examples3_Java), and form to use.

SilverJRunner is normally installed along with the SilverStream development environment, so you probably already have it on your machine. If not, you can get it from the SilverStream installation (Setup) program.

    For more information, see the Installation Guide.

Organization   Top of page

The techniques are organized into these categories:

Category

Description

Core Programming Techniques

Code examples for the basic programming skills you'll need as you develop applications in SilverStream

Data Access Techniques

Code examples for enabling your applications to access the relational databases and other data sources they require

HTML Client Techniques

Code examples for developing an HTML user interface for the client portion of your applications (to display one or more pages)

Java Client Techniques

Code examples for developing a Java user interface for the client portion of your applications (to display one or more forms)

Enterprise JavaBean Techniques

Code examples for developing the middle tier of your applications with Enterprise JavaBeans (to encapsulate business logic and data access on the SilverStream Application Server)

Triggered Business Object Techniques

Code examples for developing the middle tier of your applications with triggered business objects (to perform event-driven processing on the SilverStream Application Server)

Administration Techniques

Code examples for using the Server Administration API to configure and manage your SilverStream Application Server






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