You will define a new Java/CORBA component, JavaArithmetic.
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.
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 |
|
IDL Home Interface |
Leave blank. |
IDL Remote Interface |
|
Automatic Failover |
Checked |
Pooled |
Checked |
Thread Safe |
Checked |
Click Apply to save changes made to the component properties.