Java Examples

This sample database contains a collection of live code examples that illustrate techniques for developing client applications written in Java.

These examples reside in the Examples37_Java database.

This page covers the following topics:

 
Top of page

Description of the Java Examples database

When you develop Java clients in the SilverStream Designer, you create interactive forms that provide a powerful graphical front end to a database application. Besides providing an interactive user interface, forms are also programmable controls that have their own set of properties, methods, and events.

You can implement a form as a standalone container for other controls, as a subform on a container form, and as a dialog box that opens in a separate window.

Typically, you design a Java interface for clients when you want intranet users to run your application as a dedicated program. Types of Java clients include:

In the Java Examples database, you will find examples that demonstrate numerous techniques for developing Java clients, including:

 
Top of page

How to get started

To run Java examples:

  1. After installing the Java Examples database, start the Main Designer.

  2. Expand the Java Examples database in the left pane of the Main Designer and click to select Forms.

  3. In the right pane of the Main Designer, select frmMenu, the form that launches the application.

  4. Select the Run icon:

    The home page opens in SilverJRunner, providing links to interactive examples, usage instructions, and information about techniques:

  5. Browse through the list in the left navigation pane and select examples of interest.

    A description of the example you select appears in the right pane.

  6. Click the Show Example button to bring up the live example:

    Note that this display includes a View Documentation button, which when pressed brings up a detailed description of the technique illustrated in the example.

 
Top of page

Java techniques

    To learn how to implement Java techniques and access sample code that you can incorporate in your applications, go to Application Techniques in the help system: Java Client Techniques, Data Access Techniques, Core Programming Techniques, Triggered Business Object Techniques, and Administration Techniques.

 
Top of page

Where to find more information

    For more information about developing Java clients, see Form Designer in the Tools Guide and the following chapters in the Programmer's Guide:


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