Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Integration With Legacy Data Store
EMF Integration With Legacy Data Store [message #739616] Mon, 17 October 2011 16:53 Go to next message
Eric Rosenberg is currently offline Eric RosenbergFriend
Messages: 1
Registered: October 2011
Junior Member
I'm rather new to EMF and am still trying to get my head around all the concepts.

I am interested in trying to use EMF to represent domain models within my application but I need to integrate it with a legacy datastore that provides a custom API. Is the correct way to do this by creating my own implementation of Resource and mapping between EMF and the legacy system inside the resource implementation? Is their a tutorial that walks you through the basics of creating a custom Resource type?
Re: EMF Integration With Legacy Data Store [message #739709 is a reply to message #739616] Mon, 17 October 2011 19:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Eric,

Yes, implementing ResourceImpl.doLoad/doSave is the simplest way. If
your data store isn't stream based, using facade streams that implement
URIConverter.Saveable/Loadable would be good. Bryan has blogged about
some of the stuff we've done for MongoDB integration so you could look
at that as an example. http://bryanhunt.wordpress.com/


On 17/10/2011 6:53 PM, Eric Rosenberg wrote:
> I'm rather new to EMF and am still trying to get my head around all
> the concepts.
> I am interested in trying to use EMF to represent domain models within
> my application but I need to integrate it with a legacy datastore that
> provides a custom API. Is the correct way to do this by creating my
> own implementation of Resource and mapping between EMF and the legacy
> system inside the resource implementation? Is their a tutorial that
> walks you through the basics of creating a custom Resource type?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Override the persistency of non-containmnent references
Next Topic:OutOfMemory on Resource.save()
Goto Forum:
  


Current Time: Thu Apr 18 04:32:56 GMT 2024

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

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

Back to the top