The Package Properties window has three tabs:
General
Role Mapping
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. |
You can map permissions for component methods to roles defined in Adaptive Server. See “Permissions and roles” for more information about roles in EJB Server.
If you want to restrict access to a Bean, you must, for each method:
Include a J2EE role at the method level when you create the Bean.
Map the J2EE role to an Adaptive Server role in the Role Mapping dialog box.
To map a J2EE role to an Adaptive Server role:
If necessary, define a new Adaptive Server role. See the Adaptive Server Administration Guide for instructions.
Select the Role Mapping tab from the Package Properties window.
Click Add. Double-click the J2EE role and enter a J2EE role name. You can also enter a description for the role in the provided field.
Select an Adaptive Server role from the drop-down list. This is the role from which the J2EE role inherits its permissions and members.
Repeat steps 2 through 4 for each method in the package with an encoded J2EE role.
The All Properties tab allows you to edit package property settings as they are stored in the EJB Server 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.
To edit package properties:
Look for the property name in the list of properties. If it is displayed, highlight the property and click Modify. Otherwise, click Add.
If adding the property, fill in the Add Property fields as follows:
Enter the property name in the Name field
Enter the value in the Value field.
If modifying a property, edit the displayed value in the Modify Property window.