Accessor Object Examples

This sample database contains a collection of live code examples that illustrate how to use the SilverStream accessor objects with EJB applications. It also contains the base classes that you must extend and the interfaces you must implement when writing your own applications that use accessor objects.

These examples reside in the Accessor37 database.

This page covers the following topics:

 
Top of page

Description of the Accessor database

The SilverStream accessor objects allow you to bind data-aware controls on a form or page to server-side data provided by entity beans.

TIP   You might use accessors for the following reasons:

You might choose not to use accessor beans because they are not portable to non-SilverStream EJB servers.

In the Accessor database, you will find examples that demonstrate:

 
Top of page

How to get started

To run Accessor object examples:

  1. After installing the Accessor database, start the Main Designer.

  2. Select the Accessor database in the left pane of the Main Designer.

  3. Select the Run Database icon:

    The application starts up in your browser:

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

When you choose an example from the pages category, the example you select opens in the right pane, where you can interact with its controls:

When you choose an example from the Forms category, you see a page that allows you to launch SilverJRunner. The following shows a sample form running under SilverJRunner:

 
Top of page

Behind the scenes

The Accessor database includes a Behind the Scenes function that provides detailed, context-sensitive descriptions of the technologies underlying the forms and pages that make up this application.

To invoke Behind the Scenes on a page, click the Behind the Scenes link on the banner:

 
Top of page

Accessor object techniques

    To learn how to implement accessor objects with EJB applications, see Writing EJB Applications Using Accessors.

 
Top of page

Where to find more information

    For introductory information about EJBs, see the following chapters in Getting Started:

    For technical information about implementing EJBs, see the following chapters in the Developing Enterprise JavaBeans section of the Programmer's Guide:

    For technical information about deploying EJBs, see the following chapter in the Facilities Guide of the server's Core Help:


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