11.4.2 Differences in functionality depending on the presence of application.xml

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 applicationapplication.xml is presentapplication.xml is absent
cjimportapp
Determining the module
The module is determined using application.xml.
Display name of the J2EE application
Determined using the <display-name> tag of application.xml. If the <display-name> tag does not exist, the display name is determined using the EAR file name.
Determining the EJB-JAR directory and WAR directory
In the exploded archive format (the -a option is specified), the directory name is the name excluding the extension from the path name coded in the <module> tag of application.xml.
Determining the module
The module is determined using the file position, extension, and file contents.
Display name of the J2EE application
Determined using the EAR file name.
Determining the EJB-JAR directory and WAR directory
In the exploded archive format, the EJB-JAR directory name ends with _jar and the WAR directory name ends with _war.
cjexportappExports a J2EE application with application.xml.Exports a J2EE application without application.xml.
cjaddappAdds 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.
cjsetapppropSets the contents specified in the property file.Sets the contents specified in the property file. Creates application.xml using the set contents.
cjrenameappChanges the J2EE application name.Changes the J2EE application name. Creates application.xml.
Reference note
The functionality of the following server management commands does not differ when application.xml exists and when application.xml does not exist:
  • cjdeleteapp
  • cjstartapp
  • cjstopapp
  • cjchmodapp
  • cjgencmpsl
  • cjgetappprop
  • cjgetstubsjar
  • cjimportlibjar
  • cjdeletelibjar
  • cjlistlibjar
  • cjlistapp
  • cjreloadapp
  • cjreplaceapp