Process the IDL file with an IDL- to-Java™ compiler suitable for your client system
(using the same IDL file that you used to build the server application).
Obtain a stringified object reference to the GenericFactory by
downloading genfac.ior (in ASCII mode) from the CorbaServer's
shelf directory, where it was created when the CORBASERVER resource was published. Alternatively, you can use JNDI, as a Generic Factory IOR for the CorbaServer
is published to the namespace if you issue an EXEC CICS PERFORM CORBASERVER PUBLISH, or a
CEMT PERFORM CORBASERVER PUBLISH command. If you plan to use JNDI, then you
must define a nameserver, see Defining name servers. The
IOR is bound into the context identified by the JNDI prefix in the CORBASERVER
resource definition, with the name GenericFactory. For example, the pathname
would be: