7 By using the USE_DEFAULT_SERVANT policy, the developer can create
8 a POA that will use a single servant to implement all of its objects.
9 This approach is useful when there is very little data associated
10 with each object, so little that the data can be encoded in the
15 In the example implementation a Single Servant is enough to
16 serve requests for a File Descriptor interface. The Object Id of the
17 Descriptor objects are formed from the file handle returned by the
18 System call. The servant can get the file handle from the object
19 reference to process the request. Thus a single Descriptor servant
20 can serve multiple objects.
25 1. To run the server, type
27 % server [-ORBobjrefstyle URL]
31 The client tries to create a file "test" and writes a message to
32 the file and reads it back and prints it.
34 1. To run the client, type
38 where the IOR is got from the server output.