Creating a new package

StepsCreating a new package

  1. Start EAServer Manager if it is not running, and connect to your server.

  2. Expand the EAServer Manager icon.

  3. Highlight the Packages icon.

  4. Select File | New Package.

  5. Enter the name of the new package. The name must not match any existing package defined in the EAServer repository. To avoid name collisions, you can use the Java reverse domain naming style; for example, “com.foo.finance.”

  6. Supply the package information. The properties are described in “Configuring package properties”.

The new package appears on the right side of the screen when you highlight the package icon.

NotePackage names must begin with a letter, are not case sensitive, and must be unique Package names must be unique among other packages in the same EAServer installation, and begin with a letter.

Names are not case sensitive. Your packages must have unique names that differ in ways other than letter case. For example, you cannot define two packages named MyPack and mypack in the same EAServer installation. You cannot have two packages with the same name, even if one is installed in an application and the other is not.

StepsCopying package definitions

Use the Copy item in the package Edit menu to create a copy of a package. EAServer Manager creates a copy of the package definition and the definitions of the components it contains. You can modify the new package and component properties without affecting the original. However, the copied and original definitions refer to the same IDL interfaces and implementation files.

You cannot copy packages that are installed in an application. Packages that appear in the top-level Packages folder can be copied as follows:

  1. In the top-level Packages folder, highlight the icon for the package to be copied.

  2. Choose File | Copy.

  3. Enter a unique name for the new package and click Ok.

  4. EAServer Manager creates a copy with the specified name.

NoteThe Paste command in the package Edit menu pastes copied component definitions. See “Copying and pasting components”.