Show TOC

 Editing the Descriptor PropertiesLocate this document in the navigation structure

Use

Use this procedure to prepare the deployment descriptor.

Prerequisites

You must have created an archive file for at least one EJB component. See Making an Application Component Archive .

Procedure
  1. If you want to modify the context root of a WAR file as part of an EAR, click the Contexttab.
    1. From the WAR Files list select a file accessible from HTTP.
    2. Edit the value in the Context Rootfield.
    3. Click the Modify button to confirm the change.
      Note

      You can not change the name of a WAR file. You can only modify its context root.

  2. Manage the security properties.
  3. If you want to modify the additional properties, click the Additional tab. For more information, see Editing the Additional Properties .

Managing Security Roles

  1. If you want to edit the security properties, click the Security View tab. The Security Roles list contains the roles specified in the J2EE Components tab. If there are no roles specified, the Security Roles list will be empty.
  2. If you want to modify an existing role:
    1. Select a role from the Security Roleslist.
    2. Modify the values of the Role Name and Security Role Description fields.
    3. Click the Modify button.
  3. If you want to add a new role:
    1. Specify values in the Role Name and Security Role Descriptionfields.
    2. Click the Addbutton.
  4. If you want to remove a role:
    1. Select that role.
    2. Click the Remove button.
      Note

      The Security Roles list in the Assembler tab takes priority over the respective fields on the J2EE Components tab.