The BAR file is a compressed file to which you can add a number of deployable resources.
The .appzip file contains all resources that belong to the application, such as .msgflow, .cmf, .esql, .map, .xsd, and any message set .dictionary and .xsdzip files. If an application refers to one or more libraries, .libzip or .shlibzip files for the referenced libraries are also added to the BAR file.
This file contains all resources that belong to the static library, such as .msgflow, .cmf, .esql, .map, .xsd, and any message set .dictionary and .xsdzip files. If a static library refers to other static libraries, .libzip files for the referenced libraries are also added to the BAR file.
This file contains all resources that belong to the shared library, such as .cmf, .esql, .map, .xsd, and any message set .dictionary and .xsdzip files. If a shared library refers to other shared libraries, .shlibzip files for the referenced libraries are also added to the BAR file.
Subflows that are defined in .msgflow files are not displayed in the BAR file as separate items, and are added to the BAR file automatically when the BAR file is built. To include these subflows, you must add only the parent flow. Subflows that are defined in .subflow files are displayed in the BAR file as separate items and can be deployed as individual resources.
.NET assemblies that are required by .NETCompute nodes in message flows are added to the BAR file from your integration project automatically when you add the message flow.
You can have only one of these files in your BAR file. This file, in XML format, is contained in the META-INF folder of the compressed file and can be modified by using a text editor or shell script.
XML and XSL files are added to the BAR file automatically if they are required by the flow
JAR files that are required by JavaCompute nodes in message flows are added to the BAR file from your Java™ project or integration project automatically when you add the message flow.
JAR files that are available to the integration node include JAR files that you deployed and JAR files that exist in the classes directories in the installation directory. For example, the files IntegrationAPI.jar, jplugin2.jar, and javacompute.jar are always visible to the integration node, and do not have to be deployed separately.
If your BAR file contains a mixture of resources that are compiled and resources that are not compiled, you might see unexpected results. For example, if you select the Compile and in-line resources option to create a BAR file that contains an ESQL file and a message flow, the ESQL is embedded in the compiled message flow (.cmf) file. If you then update the ESQL and add it to the BAR file with the Compile and in-line resources option cleared, the ESQL file is added as an individual resource, but the .cmf file uses the original ESQL because the original ESQL remains embedded in the .cmf file. To ensure that all your resources are either compiled or not compiled, when you change the Compile and in-line resources option, also select Remove contents of BAR before building, and rebuild the BAR file.