Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "MoDisco/Components/JeeEjbJar/Documentation/0.9"

(New page: == Ejb-Jar Discoverer == 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 dedic...)
 
Line 1: Line 1:
== Ejb-Jar Discoverer ==
+
{{MoDiscoJeeEjbjarTabs}}
 +
== 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).  
 
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).  
  
=== Details ===
+
== Ejb Configuration Discoverer ==
  
Considering ejb-jar.xml files conforming to DTD or XSD, it will be more convenient to have some dedicated metamodels to manipulate information. However, Generic EjbJar Discoverer is an alternative for miscellaneous ejb-jar.xml files
+
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.
  
This plug-in aims at analyzing any ejb-jar.xml file providing a model describing the information found. Version supported are JEE 1.2, 1.3, 1.4, 5, 6
+
Given a ejb-jar configuration file, the discoverer detects the version of framework used and instanciate the associated metamodel.
  
Moreover, it allows to serialize back the xml file from the model. Thus, some m2m transformation might be used jointly to upgrade some xml files.  
+
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.  
  
<br>
+
=== User Manual ===
 
+
=== User manual ===
+
 
+
==== Discovering and browsing from contextual menu  ====
+
  
 
The plug-in provides the user with a contextual menu to easily create models.  
 
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.  
By right-clicking on a file in the Eclipse Package Explorer view, you can quickly create the model of your configuration file.  
+
 
+
 
+
  
 
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;[[Image:MoDisco-EJBJAR_popup_menu.png]]
 
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;[[Image:MoDisco-EJBJAR_popup_menu.png]]
  
 
<br> 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.  
 
<br> 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.  
 
 
  
 
[[Image:MoDisco-EJBJAR_model_in_browser.png]]
 
[[Image:MoDisco-EJBJAR_model_in_browser.png]]

Revision as of 05:05, 24 May 2010

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