|Consortium Solutions Middleware Forge MyObjectWeb|
Table of Contents
OpenCCM includes an implementation of the OMG Persistent State Service (PSS) Specification (available as the OMG TC document formal/02-09-06). This PSS implementation provides a compiler for the OMG Persistent State Definition Language (PSDL) and a runtime based on the Java Data Objects (JDO) standard.
To work correctly, the OpenCCM Persistent State Service (PSS) has the following mandatory requirements:
Move to the
You have to configure some properties to compile the demonstration.
To compile the PSS demonstration, do the next steps:
To create your database schema, i.e. create tables in your database, you can run the following command on Unix systems:
$ build.sh build_schema
or on Windows systems:
$ build.bat build_schema
The server initializes the Persistent State Service,
To run the server, execute the following command:
The client retrieves the
Select a choice : 0. Quit 1. Create a new person 2. Remove a person 3. Display all person's data
You can add a person, display its data or remove it. All this information is stored in the specified database.
To run the client, execute the following command:
If you want to know how to use the PSS API, please have a look
to the demonstration source code (in the
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster | Last modified at 2005-07-07 02:04 PM