Using the IOM Server

Overview of Using the IOM Server

This section introduces the steps necessary to construct and execute a Java application that uses the IOM server. As you become more familiar with Java client programming for the IOM server, you can build on these steps to exploit the more sophisticated features of the IOM server.
The Connection Service can connect to SAS Workspace Servers, other metadata servers, SAS OLAP Servers, and SAS Stored Process Servers.

Using a Metadata Server with the Connection Service

If you are using a metadata server, the first step in developing and running a client program is to make sure you have access to a properly configured server. You can access a server by reading the connection information from a SAS Metadata Server.
As is the case in client development, you can start with a basic server configuration and then move into more a sophisticated configuration over time.
After the IOM server has been configured, you can begin developing a Java client for the IOM server.

Connecting a Java Client to an IOM Server

Java clients can use the Java Connection Factory interface to access an IOM server by performing the following steps:
  1. From the Java Connection Factory, obtain a connection to an IOM server. Then, obtain the remote object reference connected to that IOM server and narrow it to the appropriate remote interface.
  2. Use Java CORBA stubs for IOM objects and JDBC connection objects to exploit the power of SAS in the IOM server.
  3. Return the connection to the Java Connection Factory for disconnection or reuse.
To get started, you can put together a simple client application by composing the examples given for each step. Then you can continue to read the additional documentation and learn about Java client programming for the IOM server in greater detail.