Chapter 4: Defining Components
Your component must be installed in a package before it can be run by applications. Components that have the same name but are installed in different packages are different components; modifying or deleting one does not effect the other.
Creating a new component and installing it to a package
Double-click the Packages folder to expand it, or if the package is installed in a server, expand the server’s Installed Packages folder.
Highlight the package to which the component will be added.
Select File | Install Component from the menu.
In the Component Wizard dialog box, select Define New Component, and click Next.
Enter the component name in the Enter New Component Name dialog box, and click Finish.
The Component Properties window displays.
Configure the settings as described in “Configuring component properties”.
The new component appears in the package’s list of installed components, and the Component Properties window displays.
Renaming a component
Highlight the component and choose Rename, then enter the new name.
Copying and pasting components
Use copy/paste to copy a component’s definition to another package.
Highlight the icon for the component to be copied.
Choose File | Copy Component.
Highlight the icon for the package to which you want to copy the component.
Choose File | Paste Component.
EAServer Manager installs a copy of the component’s definition into the specified package. You can modify the new component’s properties without affecting the original. However, the copied and original definitions refer to the same IDL interfaces and implementation files.
Deleting a component
Expand the EAServer package that contains the component.
Highlight the component you want to delete.
Select File | Remove Component from the menu.
When you delete a component, EAServer Manager does not delete the IDL interfaces and types that were used by the component. If you are sure that the component’s interface and types are not used by any other component, you can delete unused types as described in “Editing IDL types, exceptions, and interfaces”. Alternatively, you can delete the package in which the component is installed and specify full deletion as described in “Modifying packages”.
|Copyright © 2005. Sybase Inc. All rights reserved.|