JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Developing OTDs for Oracle Java CAPS Communication Adapters     Java CAPS Documentation
search filter icon
search icon

Document Information

Developing OTDs for Communication Adapters

Understanding the HTTPS OTD

HTTPS Client OTD

HTTP OTD Method Descriptions

HTTPS Server OTD

Working With the Server OTD

Collaboration Example

Creating a New COM and DCOM OTD

To Create a COM OTD

Relaunching OTDs

To Relaunch an Existing OTD

File Adapter Components

File OTD Operations

SNA Object Type Definitions (OTDs)

To associate the standard SNA Adapter OTD to a new Java Collaboration:

Creating a New COM and DCOM OTD

The COM OTD Wizard generates an OTD from a COM automation-compatible component’s Type Library files. COM Type Library files describe the methods and properties exposed from an automation-compatible component. COM type libraries may have the file extension .tlb or .olb, however, most components typically embed the type library file in the DLL, OCX, or EXE file that contains the component.

To Create a COM OTD

  1. Right click your Project from the Projects window tree, point to New, and then select Object Type Definition.
  2. Select the COM Wizard from the Select Wizard Type window of the New Object Type Definition Wizard and click Next).
    image:Com OTD Wizard
  3. Browse to the directory that contains the type library file from which the OTD will be created.

    You can only select one type library file at a time.

  4. Select your type library file, click the Select button, then click Next.
    image:COM OTD Wizard
  5. Select one or more of the classes from the type library and click Next.
    image:COM OTD Wizard
  6. Enter a name for the new OTD in the OTD Name field and click Finish.
    image:COM OTD Wizard

    If any of the selected CoClasses contain a method with an unsupported data type, an Information box appears.

    The Information box indicates that some methods were not created in the OTD, and provides the location of the generated “Skipped Methods” log. This log provides a report of any methods that were skipped when the OTD was created (this information is also written to the IDE log file). If this information box appears, click OK to acknowledge and close the Information box.

    The OTD Editor appears displaying the new OTD.


    image:COM OTD Wizard

    The resulting OTD is now available for use in your Collaborations.