uCosminexus Application Server, Application Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
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)
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)
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.
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.
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.