This section provides
the steps to construct and execute a SAS Java Metadata Interface client
that reads and writes metadata.
The first step in developing
and running a client program is to make sure that you have access
to a properly configured SAS Metadata Server. You should have a properly
configured SAS Metadata Server if your site performed a SAS planned
installation.
After the SAS Metadata
Server has been configured, you can begin developing a SAS Java Metadata
Interface client that uses it. All SAS Java Metadata Interface clients
access a SAS Metadata Server using the following steps:
-
Instantiate an object
factory.
-
Connect to the SAS Metadata
Server.
-
Create Java object instances
that represent SAS Metadata Model metadata objects and modify attributes
and associations as needed.
-
Persist changes to the
SAS Metadata Server.
Read the following topics
for instructions about how to implement the preceding steps:
Example code fragments
are given to illustrate each step.
To see how the code
examples are submitted in an actual program, see Sample Program.
An object factory is
needed for each user who will use an application. Therefore, each
user will have their own factory instance.
The examples given do
not attempt to show how to create multiple object factories. Their
goal is to show how a typical user connects to the SAS Metadata Server
and issues SAS Java Metadata Interface method calls that create, read,
and persist metadata objects on the SAS Metadata Server.