When application.xml is omitted, differences occur in the assemble functionality and deploy functionality when the commands are executed. The following table separately describes the differences in the server management command functionality for the J2EE applications with application.xml and the J2EE applications without application.xml.
Table 11-8 List of differences in functionality depending on the presence of application.xml
Commands operating the J2EE application | application.xml is present | application.xml is absent |
---|---|---|
cjimportapp |
|
|
cjexportapp | Exports a J2EE application with application.xml. | Exports a J2EE application without application.xml. |
cjaddapp | Adds resources into the J2EE application. Adds the module information into application.xml. There are no restrictions on the resource file extensions that can be added. | Adds resources into the J2EE application. At that time, if the resource file extension does not conform to the Java EE specifications related to the omission of application.xml, an error occurs. |
cjsetappprop | Sets the contents specified in the property file. | Sets the contents specified in the property file. Creates application.xml using the set contents. |
cjrenameapp | Changes the J2EE application name. | Changes the J2EE application name. Creates application.xml. |