Chapter 5 Defining Components


Defining components

Steps Follow the steps below to define components in Jaguar Manager:

  1. Decide how you will define the component interface. Your options are:

    Option

    Description

    Defining and deploying from PowerBuilder

    PowerBuilder components are installed into Jaguar using the PowerBuilder user interface. After a PowerBuilder component is installed in Jaguar, you can view the settings in Jaguar Manager. Sybase recommends that you edit all PowerBuilder component settings from PowerBuilder so that the Jaguar component definition remains in sync with the PowerBuilder object definition and project settings. See your PowerBuilder documentation for more information.

    Defining and deploying from PowerJ

    When using PowerJ, you can define, develop and deploy Java components from within PowerJ. See your PowerJ documentation for more information.

    Importing a compiled Java file

    Jaguar Manager reads method definitions from a compiled Java class or interface. "Importing interfaces from compiled Java files " describes this feature in detail.

    Importing an ActiveX file

    Jaguar Manager reads the interface definition from your ActiveX DLL or a separate ActiveX type library file. "Importing ActiveX components" describes this feature in detail.

    Defining the interface manually

    You can define methods manually using Jaguar Manager graphical controls or by creating the interface in an IDL file.

    If you import from an ActiveX or Java file, skip to step 3. (The import process installs the component and sets the properties on the General tab in the Component Properties window.)

  2. Install the component in a Jaguar package. See "Installing components" for more information.

  3. Configure the settings in the Component Properties window, as described in "Configuring component properties".

    Note   Component names are not case sensitive Components in a package must have unique names that differ in ways other than letter case. For example, you cannot install two components named MyComp and mycomp in the same package.


 


Copyright © 2000 Sybase, Inc. All rights reserved.