|
Re: Best Practice for EMF and WTP [message #630533 is a reply to message #630527] |
Sun, 03 October 2010 21:12 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Christophe,
It depends a bit what type of web apps you write. If it is with GWT then Ed Merks has been working on making a GWT
enabled version of EMF. I am sure he sees this thread and give some more info.
On the server side you can use Teneo for automatic EMF-ORM mapping (to hibernate).
To use EMF/Teneo or Texo you just need to add a number of jars to the WEB-INF/lib, that's all. See here:
http://wiki.eclipse.org/Teneo/Hibernate/Download_and_Install #Install_Teneo_for_use_within_a_Web_Container
Another project which might be interesting is the Texo project which is mainly focused on the server side of web-apps
for now:
http://wiki.eclipse.org/Texo
It gives you the benefits of EMF functionality but with more possibilities to integrate it into other frameworks which
can't handle the EMF specific list implementations.
http://wiki.eclipse.org/Texo/Texo_and_EMF
Texo also provides orm generation, xml/xmi serialization, template overriding, etc.
http://wiki.eclipse.org/Texo#Code_generation_topics
gr. Martin
On 10/03/2010 10:28 PM, Christoph Grotz wrote:
> Hey,
>
> I rather stumbled over EMF and I'm really intressted in the Framework.
> At the moment we're developing standard WTP projects without OSGi that
> use Hibernate for ORM with a multilayer concept( DAO-> Service -> Model
> -> View). It's working good. But probably we could achive a better
> documenting with EMF, besides the long term improvements from the code
> generating aspect.
>
> Right now, I'm not completely sure if EMF is practicable for a web
> application and more important how the architecture should be in that
> case. At the moment I suppose that a combination of EMF, CDO and Teneo
> would be a good choice.
>
> I think the question is rather clear, how could this scenario look, is
> there a best practice?
>
> Thank you,
>
> Christoph Grotz
--
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
|
|
|
Powered by
FUDForum. Page generated in 0.03372 seconds