Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » difference between JET, teneo and accelero?
difference between JET, teneo and accelero? [message #493308] Sat, 24 October 2009 16:20 Go to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
is there a simple description for newbies?

Thanks,

Tom
Re: difference between JET, teneo and accelero? [message #493312 is a reply to message #493308] Sat, 24 October 2009 16:37 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Tom,

Start here:

- http://www.eclipse.org/articles/Article-JET/jet_tutorial1.ht ml
- http://www.eclipse.org/modeling/emf/?project=teneo#teneo
- http://www.acceleo.org/pages/home/en

I found them with Google ;-)

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper




Tom H schrieb:
> is there a simple description for newbies?
>
> Thanks,
>
> Tom


Re: difference between JET, teneo and accelero? [message #493322 is a reply to message #493312] Sat, 24 October 2009 19:22 Go to previous messageGo to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
Eike Stepper wrote on Sat, 24 October 2009 12:37
Hi Tom,

Start here:

- http://www.eclipse.org/articles/Article-JET/jet_tutorial1.ht ml
- http://www.eclipse.org/modeling/emf/?project=teneo#teneo
- http://www.acceleo.org/pages/home/en
> is there a simple description for newbies?



So would I be right in saying that

1) JET seems to be a generalised templating tool for models.

2) Teneo is specialised towards generating database persistency mappings and ORM stuff for hibernate and eclipseLink

and 3) accelleo is another template based code generation tool that supplies some modules that do JEE code generation.

?

Also, if I wanted to get started with something simple, modelling a domain for a relatively simple web app, which one would you recommend?

Thanks,

Tom



Re: difference between JET, teneo and accelero? [message #493348 is a reply to message #493322] Sun, 25 October 2009 06:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Tom,

That's right. Using Ecore to define your domain model would be a good
start. The Ecore Tools graphical editor is very nice.


Tom H wrote:
> Eike Stepper wrote on Sat, 24 October 2009 12:37
>> Hi Tom,
>>
>> Start here:
>>
>> - http://www.eclipse.org/articles/Article-JET/jet_tutorial1.ht ml
>> - http://www.eclipse.org/modeling/emf/?project=teneo#teneo
>> - http://www.acceleo.org/pages/home/en
>> > is there a simple description for newbies?
>
>
> So would I be right in saying that
> 1) JET seems to be a generalised templating tool for models.
>
> 2) Teneo is specialised towards generating database persistency
> mappings and ORM stuff for hibernate and eclipseLink
> and 3) accelleo is another template based code generation tool that
> supplies some modules that do JEE code generation.
>
> ?
>
> Also, if I wanted to get started with something simple, modelling a
> domain for a relatively simple web app, which one would you recommend?
>
> Thanks,
>
> Tom
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: difference between JET, teneo and accelero? [message #493354 is a reply to message #493322] Sun, 25 October 2009 06:30 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Tom,

Comments below...


Tom H schrieb:
> [...] So would I be right in saying that
> 1) JET seems to be a generalised templating tool for models.
Yes, it's very similar to JSP.

>
> 2) Teneo is specialised towards generating database persistency
> mappings and ORM stuff for hibernate and eclipseLink
Yes, I think so.

> and 3) accelleo is another template based code generation tool that
> supplies some modules that do JEE code generation.
I never worked with it, yet, but I think so.

>
> ?
>
> Also, if I wanted to get started with something simple, modelling a
> domain for a relatively simple web app, which one would you recommend?
Martin Taal, the author of Teneo told me about his Texo proposal:
http://wiki.eclipse.org/Texo . Ed just told me that it might be stalled,
though.

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: difference between JET, teneo and accelero? [message #493384 is a reply to message #493308] Sun, 25 October 2009 15:48 Go to previous messageGo to next message
Richard Catlin is currently offline Richard CatlinFriend
Messages: 50
Registered: July 2009
Member
Re:
Also, if I wanted to get started with something simple, modelling a domain for a relatively simple web app, which one would you recommend?

Tom,

Ecore is the way to model a domain. Additionally, you can generate complete Model code from the Ecore model for programmatic manipulation by your application. The book "EMF Eclipse Modeling Framework, 2nd Edition" is very good, and explains the generated code and its patterns in great detail. I find I am continually reviewing the chapters as I work through the code.

If you like Design Patterns, you will find all throughout this code, such as Delegate, Adapter/Observer, Template, Command, Visitor, Composite, to name the ones I've come across.

If you want to take it a step further, you can create a AJAX based web application using the Eclipse RAP framework, using the same technology that you would use to build an Eclipse RCP application.

http://www.eclipse.org/rap
http://www.eclipse.org/rcp

The benefit of this is that the code generation technology that generates your model code mentioned above, also generates a generic RCP application. The ideal is that with few modifcations to this generated RCP code, it will run as a RAP web application. The SWT platform is replaced by RWT.

Personally, I doing this for a project. I have created my Ecore model and spent alot of time understanding the EMF Model framework, and the EMF.Edit non-gui framework. I am now trying to customize the generated EMF.Editor to fit my needs then I will make changes to that code to run it as a RAP application. Currently, I am persisting to XMI files, and have not hooked it up to the backend database yet, but am looking at CDO/Teneo to do that.

Here are other sister frameworks which complement EMF Ecore:
EMF Model Query
EMF Model Transaction
EMF Validation Framework - You can use OCL, but I found it more natural to use Java to write the Validation rules.

Hope this helps.

Regards,
Richard Catlin
Re: difference between JET, teneo and accelero? [message #493419 is a reply to message #493322] Mon, 26 October 2009 07:44 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Tom,
I hope the others have already answered most of your questions. Regarding Teneo:
Teneo is indeed a solution for storing EMF generated objects using ORM's like Hibernate and EclipseLink. Teneo consists
of a mapping and a runtime component. The mapping layer automatically maps your model to Hibernate/EclipseLink. The
generated mapping can be influenced/controlled in detail by setting JPA annotations in the ecore model. Teneo will use
these annotations to control column names, mapping strategies etc.
Teneo supports practically all EMF constructs (featuremaps is a notable one). Many/most xsd constructs (supported by
EMF) are also supported also (choice, substitution group, list, etc.).
The runtime layer takes care of handling EMF specifics such as containment and bi-directional relations.

More information can be found here:
http://www.elver.org

gr. Martin

Tom H wrote:
> Eike Stepper wrote on Sat, 24 October 2009 12:37
>> Hi Tom,
>>
>> Start here:
>>
>> - http://www.eclipse.org/articles/Article-JET/jet_tutorial1.ht ml
>> - http://www.eclipse.org/modeling/emf/?project=teneo#teneo
>> - http://www.acceleo.org/pages/home/en
>> > is there a simple description for newbies?
>
>
> So would I be right in saying that
> 1) JET seems to be a generalised templating tool for models.
>
> 2) Teneo is specialised towards generating database persistency mappings
> and ORM stuff for hibernate and eclipseLink
> and 3) accelleo is another template based code generation tool that
> supplies some modules that do JEE code generation.
>
> ?
>
> Also, if I wanted to get started with something simple, modelling a
> domain for a relatively simple web app, which one would you recommend?
>
> Thanks,
>
> Tom
>
>
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:Trouble using profile - newbie
Next Topic:testing in EMF - JUnit, Mock objects?
Goto Forum:
  


Current Time: Sat Apr 20 01:35:33 GMT 2024

Powered by FUDForum. Page generated in 0.03330 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top