|Oracle8i Enterprise JavaBeans Developer's Guide and Reference
Release 3 (8.1.7)
Part Number A83725-01
The name space in the database looks just like a typical file system. You can examine and manipulate objects in the publishing name space using the session shell tool. See the "
sess_sh" tool in the Oracle8i Tools Reference Guide for information about the session shell.
There is a root directory, indicated by a forward slash ('/'). The root directory is built to contain three other directories:
/test directory is where most objects are published for the example programs. You can create new directories under root to hold objects for separate projects; however, you must have access as database user SYS to create new directories under the root.
There is no effective limit to the depth that you can nest directories.
/etc directory contains objects the ORB uses. Do not delete objects in the
/etc directory. The objects contained in
The entries in the name space are represented by objects that are instances of the following classes:
oracle.aurora.AuroraServices.PublishingContext--represents a class that can contain other objects (a directory)
oracle.aurora.AuroraServices.PublishedObject--used for the leafs of the tree, that is the object names themselves.
These classes are documented in the JavaDoc on the product CD.
Published names for objects are stored in a database table. Each published object also has a set of associated permissions. Each class or resource file can have a combination (union) of the following permissions:
The holder of read rights can list the class or the attributes of the class, such as its name, its helper class, and its owner.
The holder of write for a context can bind new object names into a context. For an object (a leaf node of the tree), write allows the holder to republish the object under a different name.
You must have execute rights to resolve and activate an object represented by a context or published object name.
You use the
chmod command of the session shell tool to view and change object rights.