Getting Started with the ObjectStore Java Interface

There are three ways to get started with the ObjectStore Java Interface: a tutorial, a set of demo programs, and if you are running the ObjectStore Java Interface on a Windows platform, you can use the Rapid Database Development tools.

ObjectStore Java Tutorial PDF

The tutorial provides an overview of the basic concepts of the ObjectStore Java Interface. It uses an example application to show you how to define persistent classes and manipulate persistent objects. It also shows you how to develop and run applications that use the ObjectStore Java Interface. First time users of the ObjectStore Java Interface should consider reading the ObjectStore Java Tutorial before reviewing the demonstration programs. If you are using the ObjectStore Java Interface on Windows, you should consult Rapid Database Development first, and then see this tutorial.

Rapid Database Development PDF

For new users on Windows platforms, this tutorial provides step by step instructions for how to use ObjectStore Database Designer and Component Wizard to quickly design your database and create the basic components required in any ObjectStore Java Interface application. After you work through the ObjectStore Database Designer and Component Wizard Tutorial, consult the ObjectStore Java Tutorial.

Demonstration Programs

Demonstration programs provide examples of how to use the ObjectStore Java Interface. Select the README file to learn what the program does and how to run it. Select the directory to display a list of the source files, which you can examine outside the browser. The best demonstration to start with is the simple applet hit counter. After that, try the basic example of using the ObjectStore Java Interface. Brief descriptions of all demos are after the following table.

README File Directory That Contains the Demo
Simple applet hit counter install_dir/COM/odi/demo/pcount
Basic example of using the ObjectStore Java Interface install_dir/COM/odi/demo/people
Using a peer (COM.odi.coll) dictionary in a trading model for portfolios of securities install_dir/COM/odi/demo/cport
Java/C++ programs that create and access objects install_dir/COM/odi/demo/jcpp
Using the ODMG API for the trading model for portfolios of securities install_dir/COM/odi/demo/odmgcport
Persistence-Capable version of Microsoft XML parser install_dir/COM/odi/demo/xml
Storing shapes and images and using the abstract window toolkit (AWT) install_dir/COM/odi/demo/OSDraw
Converting third-party libraries to be persistence-capable install_dir/COM/odi/demo/collections
Querying ObjectStore utility (COM.odi.util) collections install_dir/COM/odi/demo/query
Using multiple cooperating threads install_dir/COM/odi/demo/threads
Using multiple segments in multiple databases, exporting objects install_dir/COM/odi/demo/tracker
Using the utility (COM.odi.util) collections in the trading model for portfolios of securities install_dir/COM/odi/demo/pport
Using a peer (COM.odi.coll) set collection in the trading model for portfolios of securities install_dir/COM/odi/demo/qport
Controlling persistent representation of objects install_dir/COM/odi/demo/rep
Using ObjectStore with the Remote Method Interface install_dir/COM/odi/demo/rmi

Here are descriptions of the demo programs: