5.3.2 Using the cosminexus.xml editor
(1) Displaying the cosminexus.xml editor
To display the cosminexus.xml editor:
- In the Project Explorer view of the Java EE perspective, select the cosminexus.xml that you want to edit.
- In the context menu, select Open.
The selected cosminexus.xml is displayed in the cosminexus.xml editor.
In this status, edit cosminexus.xml.
![[Figure]](figure/zu050500.gif)
(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.
- Overview tab
The Overview tab is the screen on which you can use the GUI to edit properties. The property settings you want to edit are displayed on the left side of the screen (left pane) and you edit the property settings on the right side of the screen (right pane).
![[Figure]](figure/zu050600.gif)
- Layout tab
The Layout tab is the screen for displaying and editing the XML tags of cosminexus.xml in a tree format. Enter the values in the column to the right side of the tag name. Note that on this page, you cannot use the keyboard shortcut keys (such as Ctrl+A, Ctrl+C).
![[Figure]](figure/zu050700.gif)
- Source tab
The Source tab is the screen for displaying and editing the cosminexus.xml contents as the source.
![[Figure]](figure/zu050800.gif)
(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:
- 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]](figure/zu050900.gif)
- 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.
- In the left pane, select Session Bean Property.
The area for entering Session Bean Property is displayed.
- 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]](figure/zu051000.gif)
- 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.