应用程序格式(Application Format)

Application Format

一般定义(General Definition)

一个Mule应用程序是以下中的一种:

* Zip文件,这是一个以zip为后缀的常规归档文件

* 针对同一个zip的解压缩版本(爆炸式的app应用)

这个部署单元压缩了一个Mule应用程序所需要的所有功能,这包括了库文件,客户化代码,配置文件,部署描述符以及

随同应用程序的环境属性。这同时也是通过域中部署描述符deployment descriptor 使得组件之间能够共享库文件的方式。

应用程序结构(Application structure)

一个Mule应用程序在$MULE_HOME/apps下有一个结构布局。

Mule支持打包和爆炸形式的部署:

/
\- classes // application-specific expanded resources (e.g. logging configuration files, properties, etc
|- lib // application-specific jars
|- mule-config.xml // Main Mule configuration file, also monitored for changes
|- mule-deploy.properties // Application deployment descriptor (optional)
|- mule-app.properties // custom properties to be added to the registry instance used by the application (optional)

原文链接地址:http://www.mulesoft.org/documentation/display/MULE3USER/Application+Format
posted @ 2011-04-01 16:53  wuwenyu  阅读(352)  评论(0)    收藏  举报