Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MoDisco/Components/JeeEjbJar/Documentation/0.9

DEPRECATED use Template:MoDiscoTabs and Template:MoDiscoTab as explain here : Wiki Template for MoDisco

Ejb Configuration Metamodel

The goal of the Generic Ejb-Jar Discoverer plug-in is to allow generic extractions of information from a ejb-jar.xml file, without the need for a metamodel dedicated to a conforming Document Type Definition(DTD) or XML Schema Description (XSD).

Ejb Configuration Discoverer

ejb-jar.xml files conforms to Sun/Oracle DTD or XSD, depending of the version of the framework : 1.1, 2.0, 2.1, 3.0, 3.1 (see http://java.sun.com/xml/ns/javaee/). MoDisco proposes related ecore definitions and Java implementations for these various descriptions.

Given a ejb-jar configuration file, the discoverer detects the version of framework used and instanciate the associated metamodel.

Moreover, the component allows to serialize back the xml file from the model. Thus, some m2m transformation might be used jointly to upgrade some configuration files.

User Manual

The plug-in provides the user with a contextual menu to easily create models. By right-clicking on a configuration file in the Eclipse Package Explorer view, you can quickly create the model of your configuration file.

                       MoDisco-EJBJAR popup menu.png


A progress bar will appear at the bottom of the window as soon as the operation begins. At the end of the process, the newly created model is automatically opened in the MoDisco model browser, if installed, or in default editor.

MoDisco-EJBJAR model in browser.png

Back to the top