uCosminexus Application Server, Application Development Guide

[Contents][Glossary][Index][Back][Next]

5.3.2 Using the cosminexus.xml editor

A newly created cosminexus.xml does not have properties. Therefore, you must add the properties.

To edit the contents defined in cosminexus.xml, use the cosminexus.xml editor. This subsection describes how to use the cosminexus.xml editor to add and edit the cosminexus.xml properties.

Organization of this subsection
(1) Displaying the cosminexus.xml editor
(2) Configuration of the cosminexus.xml editor
(3) Basic operations of (Overview) tab of the cosminexus.xml editor
(4) Editing properties (cosminexus.xml)

(1) Displaying the cosminexus.xml editor

To display the cosminexus.xml editor:

  1. In the Project Explorer view of the Java EE perspective, select the cosminexus.xml that you want to edit.
  2. In the context menu, select Open.
    The selected cosminexus.xml is displayed in the cosminexus.xml editor.
    In this status, edit cosminexus.xml.

    [Figure]

(2) Configuration of the cosminexus.xml editor

The cosminexus.xml editor has the following three display formats. This manual describes the editing procedure using the Overview tab.

(3) Basic operations of (Overview) tab of the cosminexus.xml editor

This section describes the procedure for using the Overview tab of the cosminexus.xml editor to add properties. The following is an example of the procedure for adding the Session Bean property:

  1. In the left pane, click the Add button for EJB-JAR property.
    Specify module name of EJB-JAR property is added in the EJB-JAR property area, and EJB-JAR Property Details is displayed in the right pane.

    [Figure]

  2. In the right pane, in Module name of EJB-JAR Property Details, enter the module name of the module in which the property will be added.
    The module name of the EJB-JAR property is specified.
  3. In the left pane, select Session Bean Property.
    The area for entering Session Bean Property is displayed.
  4. Click the Add button for Session Bean Property to add the Session Bean property.
    An item is added in the Session Bean Property area and Session Bean Property Details is displayed in the right pane.

    [Figure]

  5. In the right pane, specify the EJB name, resource references, and resource environment variable.
    At this point, the addition of Session Bean property is completed.
    If settings other than resource references and resource environment variable are required, specify the settings in the Layout tab and the Source tab.

(4) Editing properties (cosminexus.xml)

For details on editing each property with the cosminexus.xml editor, see the following:

For details on precautions to be taken when editing properties, see 11.3.6 Operating applications containing cosminexus.xml in the uCosminexus Application Server Common Container Functionality Guide.