Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stp-dev] Intermediate Model Code Contribution

Hi,

It's not mandatory to use EMF Based Java Code, At the moment we've

BPMN->IM  ( Java based on EMF API )
IM->JBI ( EMFT JET2 ) - This trnasformation is provided in spagic 2.0 ( LGPL ) http://forge.objectweb.org/projects/spagic IM->JBI Wsdl generation ( EMFT 2 JET ) This trnasformation is provided in spagic 2.0 ( LGPL ) IM->BPEL ( Java based on EMF API ) This trnasformation is provided in spagic 2.0 ( LGPL )

I think it will be not a problem, to use ATL in future, the reason why whe choose EMF Based Java code, is that at the moment it's the approach that i know better, and it's quite simple for me. EMFT JET2 is quite simple and work well for me.

Another thing you would take in mind, it's that when you've intermediate model, and you want to have specific technology stuff, in some case you need to made a preprocessing in the Intermediate Model, so to adapt to technology details.

Is this possible with ATL??

BTW Have you any detailed documentation about ATL, and how to use it???

Andrea



JUAN JOSE CADAVID GOMEZ ha scritto:
Hi Andrea, all,

I have a certain interest in the model transformations between the different notations supported in STP. Some days ago, Adrian Mos mentioned the possibility of using ATL (Atlas Transformation Language), which is one of the components of the M2M subproject at the Modeling project. However, I can see that the chosen approach was using the EMF-generated Java apis for handling the models. I would like to know, if possible, what was the reason for this choice, and what advantages does it bring over using ATL. Thanks a lot!

-Juan


----- Mensaje original -----
De: Andrea Zoppello <andrea.zoppello@xxxxxx>
Fecha: Viernes, Enero 25, 2008 7:46 ombr
Asunto: [stp-dev] Intermediate Model Code Contribution
A: STP Dev list <stp-dev@xxxxxxxxxxx>


Hi all,

I want just to inform you, that i put in stp svn repository some plugin projects regarding
eclipse stp intermediate model.

Here the list of released plugins, with a brief description:



- org.eclipse.stp.im
  The intermediate model project EMF stuff

- org.eclipse.stp.im.edit
  Generated by EMF

- org.eclipse.stp.im.editor
  The emf editor for im files generated by EMF

- org.eclipse.stp.im.tests
   EMF Generated stuff

- org.eclipse.stp.im.in.bpmn
This plugin realize the transformation BPM->IM ( The transformation is implemented in Java using relying on api from emf bpmn and im model )

- org.eclipse.stp.im.resources
Define a common repository where define resources that could be needed by Intermediate Model and provide extension point for exporting resources, and importing
resources into this respoistory.
At the moment this plugin provide the dialog to manage datasource
type resource.
For example, plugins provided by Spagic, will provide exporter and
importers of resources for servicemix ( spagic )
- org.eclipse.stp.im.runtime

Define the concept of Intermediate Model Runtime: A runtime define a set of services/service bindings that then we could
  drag and drop on bpmn diagram files.
Provide some utility classes so it's possible to define static runtimes, based on xml configuration files. For example the predefined set of services offered by ESB could be defined in an xml file.

Another exmaple of runtime, could be the set of activities offered by BPEL engine. BTW it's important to say that xml is only a way to define runtimes,
but it's not the unique way, basically
to define a new runtime you need only to write a plugin that use the
extension point defined in this plugin and provide
  a class that implements the IRuntime interface.

An example of runtime is provided by "org.eclipse.stp.im.runtime.jbi.smx" plugin

- org.eclipse.stp.im.runtime.jbi.smx

Define the set of service/servicebindings offered by servicemix, using the xml configuration file.


- org.eclipse.stp.im.tool.in.bpmneditor

   Extension to the BPMN editor:

- Provided Technology Section in properties view, this section is
used to choose a particular runtime for BPMN Pool.

    - Intermediate Model View
When you choose a runtime for a Pool the set of service service bindings provided by this, are showed in this view and you could do drag and drop on bpmn
      elements

   - Provided Intermediate Model Section:

Once you drag and drop a Service/ServiceBinding on a BPMN element, this will create an annotation on BPMN Element containing the properties this service/servicebing need to work, in this section you're able to edit the properties defined by a particular service/servicebinding annotation

Obviously any comment is welcome.

*Andrea Zoppello*
--

*Andrea Zoppello*
___________________________________________
<www.spagoworld.org>

Spagic Architect
___________________________________________

Architect
Research & Innovation Division
*Engineering Ingegneria Informatica S.p.A.
*
Corso Stati Uniti, 23/C - 35127 Padova - Italy
Phone:  +39-049.8692511    Fax:+39-049.8692566

*www.eng.it                    www.spagoworld.org*
	



_______________________________________________
stp-dev mailing list
stp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/stp-dev
_______________________________________________
stp-dev mailing list
stp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/stp-dev




--

*Andrea Zoppello*
___________________________________________
<www.spagoworld.org>

Spagic Architect
___________________________________________

Architect
Research & Innovation Division
*Engineering Ingegneria Informatica S.p.A.
*
Corso Stati Uniti, 23/C - 35127 Padova - Italy
Phone:  +39-049.8692511    Fax:+39-049.8692566

*www.eng.it                    www.spagoworld.org*
	





Back to the top