1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
3 <body text=
"#000000" bgcolor=
"#FFFFFF">
6 <title>Persistent State Service status
</title>
12 <h1><a name=
"orb"></a>Persistent State Service
</h1>
13 Points of contact:
<a href=
"mailto: gontla_p@ociweb.com">Priyanka Gontla
</a>
15 <p>Last Update:
2002/
07/
29 </p>
18 <p>Persistent State Service (PSS) describes a way of making a
19 service persistent. The fact that PSS is being used by a
20 service is known only to the service (server) and not to the
21 client which makes use of the service. PSS presents persistent
22 information as storage objects stored in storage homes, to
23 quote the specification. The storage homes are the datastores
24 where the persistent data is saved.
</p>
26 <p>The specification introduced Persistent State Definition
27 Language (PSDL), a superset of IDL with five new
28 constructs. PSDL is used to specify the interface to the
29 datastore. The PSDL file used in the application will define
30 the types that might be saved in the datastore.
</p>
32 <p>We have a compiler, psdl_tao, which is similar to the tao_idl
33 compiler, which will process the psdl file and generate stubs
34 that are used mainly for the insertion and extraction
38 <a name=
"current"><h3>Current status:
</h3></a>
41 <li><p>The PSDL compiler understands and supports the simple
43 typdef, module, structures, interfaces.
</CODE>
47 <p> The datastore for now is a regular file. The
48 <CODE>libTAO_PSDL_Datastore
</CODE> interfaces the
49 datastore and helps write and read from the datastore.
50 The data that is saved persistently is a hash map whose
51 external id is TAO_PSDL_String, a wrapper around
52 ACE_CString and the internal id is TAO_PSDL_OctetSeq, a
53 wrapper around for CORBA::OctetSeq.
</p>
56 <p> There is an example in
57 $TAO_ROOT/orbsvcs/examples/PSS which shows how the PSS
58 can be used to make a simplified naming service persistent.
63 <a name=
"future"><h3>Future work:
</h3></a>
67 <p>Add support to the remaining types defined in PSDL.
72 <p>Use RMCast to have another form of persistency via data
80 <a href=
"#toc">Back to TOC
</a>