Packaging and deploying a J MDA component

 

Packaging a J MDA component

Before a J MDA component can be deployed, it must first be packaged. This operation allows to compress the J MDA component, with its resources, in a file.

 

J MDA components can be packaged by clicking on the  icon, defined in the “MDA” tab, from the J MDA component.

Steps:

1.      In the explorer, click on the J MDA component you wish to package.

2.      Click on the  icon. The “J MDA component packaging” window then appears.

3.      Enter the version information.

4.      In this window, enter the path where the packaged component will be created.

5.      Specify whether or not the MDA component can be extended and click on “OK” to confirm.

 

Figure 170. Packaging a J MDA component

 

After running this command, an “.mdac” file is created in the directory specified in the “Path” field of the above window.

 

Deploying a J MDA component in UML Modeler

When a J MDA component is packaged, it contains all the information necessary to the deployment of the component in the UML Modeler, by guaranteeing that the versions of the different components will be compatible.

 

If the J MDA component uses templates or patterns, the MDARuntime MDAC must also be selected in UML Modeler. This J MDA component contains the template driver execution library, as well as the commands necessary to the application of patterns.

 

To deploy a J MDA component, the “Deploy an MDAC” command is used (see “Working with MDACs”).