Importing a Java MDA component for redefinition

 

Importing a Java MDA component

Java MDA components can be imported into MDA Modeler for redefinition in the form of model components (with the ".ramc" extension). This redefinition can take the form of the addition of new extensions or the definition of a new implementation of an existing Java MDA component, for example.

 

A Java MDA component must already have been deployed in your project before being imported as a model component.  For more information on deploying MDA components, please see "Working with MDACs".

 

After deployment, a Java MDA component (in its model component form) is located in the "objing_path/mdaplugs/MDAC_name/x.x.xx/mdamodel" directory.

 

To import a Java MDA component, carry out the following steps:

1.      Click on “Import an MDA component …” in the “Extensions” menu. The window shown in Figure 185 below then appears.

 

Figure 185. The "Deploy a model component" window, used to import a Java MDA component

 

2.      In the "Path" field, click on the browser icon on the right to browse and select the Java MDA component you want to import.

3.      Click on “Deploy” to confirm. The selected Java MDA component is then immediately imported.

 

 

Dependencies to other model components

Java MDA components depend on the "jdk", "metamodel", "joni-model" and "mda" model components.  This means that these must already be deployed before you import a Java MDA component.

 

The "metamodel" model component is automatically deployed when MDA Modeler is deployed in your project.  It is located in the "objing_path/mdaplugs/MDAModeler/x.x.xx/models" directory.

 

The "jdk", "joni-model" and "mda" model components are automatically deployed when a Java MDA component is created, and are located in the following directories:

·         The "jdk" model component is located in the "objing_path/mdaplugs/MDAModeler/x.x.xx/models" directory. 

·         The "joni-model" and "mda" model components are located in the "objing_path/lib" directory.