Chapter 3 Managing Applications and Packages in Jaguar Manager
In Jaguar Manager, a package contains a group of related components. Typically, components in a package work together to provide a coherent service or function.
Refresh when you modify a package, component, or method
When
you modify an existing package, component, or method, you must refresh
the server, package, or component for the changes to take effect. To
refresh, highlight the icon for the server, package, or component
and select File | Refresh. If you modify a component's
supported interfaces, you must regenerate stubs and skeletons for
the component and clients that access the component.
You must install your components in packages before applications can access the components. Packages serve the following purposes:
Use Jaguar Manager to create, modify, and delete packages, as described in the sections below:
You can also export and import package archives in the standard EJB-JAR format or in the Jaguar JAR format. For details, see Chapter 10, "Importing and Exporting Application Components" in the EAServer System Administration Guide.
Creating a new package
The new package appears on the right side of the screen when you highlight the package icon.
Package 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.
Except for packages used internally by EAServer, packages to be run on a server must be installed in that server, using one of two methods:
Packages that you create must be installed in a server before that server's clients can access components in the package.
You can only install a package in one application. Once a package is installed in an application, it cannot be installed directly in a server.
EAServer includes a set of default packages that include components used internally by EAServer. These packages are available whether or not they are installed to a server's Packages folder. Currently, these include the packages: Jaguar, Jaguar1, CosNaming, CtsSecurity, CtsServlet, DataWindow, EventSamples, and PBDebugger. The list of default packages is subject to change without notice.
Installing packages
Modifying an existing package
Default packages cannot be modified or deleted
EAServer's default packages cannot be modified or
deleted, and you cannot modify or delete components installed in
default packages. These components are run internally by EAServer.
See "Default packages" for
more information.
The Package Properties window has two tabs, General and All Properties.
The following table describes the properties on the General tab.
Property | Description | Comments/example |
---|---|---|
Description | A description of the package. The description can be up to 255 characters. | View or change the description of an existing component or set the description of a new one. |
This tab allows you to define a custom class list shared by all components that are installed in the package. See Chapter 28, "Configuring Custom Java Class Lists" for more information.
Configures the com.sybase.jaguar.package.files
property,
which specifies additional files that are to be archived when the
package is exported or replicated to another server with the synchronize
feature. By default, the file set includes the files associated
with components in the package.
The rules for setting this property are the same as for the com.sybase.jaguar.component.files component property. See "Component properties: Additional Files" for more information.
These settings map role names used in EJB components to role names that exist in Jaguar Manager.
Mapping a J2EE role to an EAServer role
Configures the default JAXP, DOM, and XSLT parser implementations used by EJB components in the package. See Chapter 27, "Configuring Java XML Parser Support"for more information on these properties.
The All Properties tab allows you to edit package property settings as they are stored in the EAServer configuration repository. You can only delete properties that you have added--you cannot delete default properties, such as the com.sybase.jaguar.package.components property.
For information on repository properties, see the chapter, "Repository Properties Reference," in the EAServer System Administration Guide.
Setting properties
When to use the All Properties tab
Though you can use the All Properties tab to set any property
prefixed with com.sybase.jaguar.package, Sybase
recommends that you use this tab to set properties only as specified
by the EAServer documentation or by Sybase Technical Support. Most
properties can be configured graphically elsewhere in the Jaguar
Manager user interface.
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |