| User's Guide: Small Ada 95 Object Database; Version 0.1.0; Document Revision $Revision: 1.9 $ | ||
|---|---|---|
| Prev | Chapter 7. Overview | Next |
Server classes are not statically linked with the server. They are loaded while executing the command osscntl or after registering during server startup.
A server class is uniquely identified by the name of the Ada 95 unit. The naming convention for the Ada 95 is always:
OOS.classname.{ client | server }
Building and installation boils down to the process of creating a plugin and copying it to right place in the class path and to register the plugin.
In order to build a server class the makefiles and conventions used in the directory tree server/classes need to be applied. There is a generic template to build a plugin.
The generic makefile provides an installation procedure to install the plugin locally in the development environment of adb. The system wide installation target system will pickup the plugin and copy them to the correct place.
The collection example class of this chapter will be installed under class/oos/collection/client/libobject.so where libobject.so is the actual plugin.
The plugin has to be registered with the server by means of the ooscntl command:
ooscntl .. --register oos.collection.client