Define and install a new component

You will define a new Java/CORBA component, JavaArithmetic.

StepsDefining the new component

  1. Expand the javatut package and right-click the Components folder beneath it, then select Add. The New Component Wizard displays. Apply the following settings as you page through the wizard:

    • For component name, enter JavaArithmetic.

    • For component type, choose CORBA/Java.

    • For Java Class Name, enter com.sybase.easerver.tutorials.java.JavaArithmeticImpl.

    • For IDL Home Interface, leave blank. (EAServer generates the default home interface later in the tutorial.)

    • For IDL Remote Interface, enter Tutorial::JavaArithmetic.

    When you finish the wizard, the component properties display.

  2. In the component properties, select the General tab. Confirm or apply the settings in the table below. Leave the remaining fields at their default settings.

    Field

    Value

    Component Type

    CORBA/Java

    Java Class

    com.sybase.easerver.tutorials.java.JavaArithmeticImpl

    IDL Home Interface

    Leave blank.

    IDL Remote Interface

    Tutorial::JavaArithmetic

    Automatic Failover

    Checked

    Pooled

    Checked

    Thread Safe

    Checked

  3. Click Apply to save changes made to the component properties.