Emf + Teneo + Web services support (JAX-WS) [message #527870] |
Fri, 16 April 2010 18:05 |
|
Hi !
At the beginning I must mention that I am new to EMF and it's related technologies.
I am trying to use EMF to model simple shop application (as my project at university) . For ORM I am using Teneo, every thing works just fine.
My problem is that I want to expose my model information using web service and i have no idea how to pass extra information (JAX-WS annotations) to my model. My main aim is to generate java code with those annotations already present in the code.
As modeling tool I am using Ecore Diagram .
I will appreciate any kind of help, tip or advice.
|
|
|
|
|
|
Re: Emf + Teneo + Web services support (JAX-WS) [message #527921 is a reply to message #527897] |
Fri, 16 April 2010 22:14 |
|
Hi Ed,
By dynamic templates you meant JET templates ?
If so where i could find resources which will enlighten
me ?
I am really curious where i should place a "hook" to alter behavior of code generation framework in order to place my own rules .
With best regards,
Michal
|
|
|
|
Re: Emf + Teneo + Web services support (JAX-WS) [message #527972 is a reply to message #527898] |
Sat, 17 April 2010 17:17 |
|
Hi Martin,
Today i have studied Texo project, and it seems that it perfectly suits my needs.
I have also glanced on some xpt template files which I really enjoyed for their simple and intuitive syntax.
Unfortunately I haven't found any clue on how to pass extra annotation information to generator context .
If you would decide to add support for JPA and JAX-WS annotations I will be the first person to test those features .
Martin taal wrote on Fri, 16 April 2010 16:15 | Hi Michal,
A project which might be interesting on the mid-term is the texo project: http://wiki.eclipse.org/Texo
This project aims to generate (model) code with java annotations with support of several annotation sets (jpa, etc.). I
am currently working on the annotation management part. So jax-ws annotations are not generated yet, but can also be
interesting.
Let me know if this sounds interesting maybe we can cooperate/share knowledge/ideas on this.
gr. Martin
e1n wrote:
> Hi !
>
> At the beginning I must mention that I am new to EMF and it's related
> technologies.
>
> I am trying to use EMF to model simple shop application (as my project
> at university) . For ORM I am using Teneo, every thing works just fine.
> My problem is that I want to expose my model information using web
> service and i have no idea how to pass extra information (JAX-WS
> annotations) to my model. My main aim is to generate java code with
> those annotations already present in the code.
> As modeling tool I am using Ecore Diagram .
>
> I will appreciate any kind of help, tip or advice.
--
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
|
[Updated on: Sat, 17 April 2010 17:24] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03790 seconds