Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » newbie question - linking existing database repository to DSL
newbie question - linking existing database repository to DSL [message #137204] Sun, 14 June 2009 13:27 Go to next message
Bill HingeFriend
Messages: 156
Registered: July 2009
Senior Member
Hi

I'm developing a modular DSL based tool, I have a placeholder in my DSL
for 'legacy things'. I also have (or intend to be given) a database
containing 'legacy things' but I want to create a reference to 'legacy
things' in my DSL and have my GMF editor extract information about
'legacy things' from a database.

In my scanning through eclipse projects, CDO looks like an interesting
technology to achieve this goal, am I thinking along the right lines?

Also, if I am given an arbitrary database schema to work from, how easy
is it to integrate to a DSL, ie do I need to manually derive an ecore
model of the database schema or is their something that will
automagically create such an ecore file?

regards
Steve

PS by legacy things I mean some structured data that already exists but
built by someone else and I need to reference in my DSL now or in
future.
Re: newbie question - linking existing database repository to DSL [message #137215 is a reply to message #137204] Sun, 14 June 2009 14:22 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Steve,

This looks like a EMF, CDO and Teneo question. They are supported in the
EMF newsgroup, which I've added to this thread.

Comments below...


Bill Hinge schrieb:
> Hi
>
> I'm developing a modular DSL based tool, I have a placeholder in my DSL
> for 'legacy things'. I also have (or intend to be given) a database
> containing 'legacy things' but I want to create a reference to 'legacy
> things' in my DSL and have my GMF editor extract information about
> 'legacy things' from a database.
>
> In my scanning through eclipse projects, CDO looks like an interesting
> technology to achieve this goal, am I thinking along the right lines?
Sure, CDO is an interesting technology, but I'm certainly biased :P

If your DSL is modeled with Ecore than you can easily regenerate it with
CDO support, see http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO

>
> Also, if I am given an arbitrary database schema to work from, how easy
> is it to integrate to a DSL, ie do I need to manually derive an ecore
> model of the database schema or is their something that will
> automagically create such an ecore file?
I wonder how you modeled your DSL, if not with Ecore in the first place.
Note that the EMF generator has an option to export an Ecore file for
models imported from other sources like XSD.

I'm really not sure but there's a chance that Teneo can also derive an
Ecore model directly from an existing database schema. Martin?

Cheers
/Eike

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



>
> regards
> Steve
>
> PS by legacy things I mean some structured data that already exists but
> built by someone else and I need to reference in my DSL now or in
> future.


Re: newbie question - linking existing database repository to DSL [message #137224 is a reply to message #137215] Sun, 14 June 2009 14:28 Go to previous message
Bill HingeFriend
Messages: 156
Registered: July 2009
Senior Member
Thanks Eike

I wasn't sure which newsgroup was most appropriate

regards
Steve

Eike Stepper wrote:
> Steve,
>
> This looks like a EMF, CDO and Teneo question. They are supported in the
> EMF newsgroup, which I've added to this thread.
>
> Comments below...
>
>
> Bill Hinge schrieb:
>> Hi
>>
>> I'm developing a modular DSL based tool, I have a placeholder in my DSL
>> for 'legacy things'. I also have (or intend to be given) a database
>> containing 'legacy things' but I want to create a reference to 'legacy
>> things' in my DSL and have my GMF editor extract information about
>> 'legacy things' from a database.
>>
>> In my scanning through eclipse projects, CDO looks like an interesting
>> technology to achieve this goal, am I thinking along the right lines?
> Sure, CDO is an interesting technology, but I'm certainly biased :P
>
> If your DSL is modeled with Ecore than you can easily regenerate it with
> CDO support, see http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO
>
>> Also, if I am given an arbitrary database schema to work from, how easy
>> is it to integrate to a DSL, ie do I need to manually derive an ecore
>> model of the database schema or is their something that will
>> automagically create such an ecore file?
> I wonder how you modeled your DSL, if not with Ecore in the first place.
> Note that the EMF generator has an option to export an Ecore file for
> models imported from other sources like XSD.
>
> I'm really not sure but there's a chance that Teneo can also derive an
> Ecore model directly from an existing database schema. Martin?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
>> regards
>> Steve
>>
>> PS by legacy things I mean some structured data that already exists but
>> built by someone else and I need to reference in my DSL now or in
>> future.
Re: newbie question - linking existing database repository to DSL [message #621017 is a reply to message #137204] Sun, 14 June 2009 14:22 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Steve,

This looks like a EMF, CDO and Teneo question. They are supported in the
EMF newsgroup, which I've added to this thread.

Comments below...


Bill Hinge schrieb:
> Hi
>
> I'm developing a modular DSL based tool, I have a placeholder in my DSL
> for 'legacy things'. I also have (or intend to be given) a database
> containing 'legacy things' but I want to create a reference to 'legacy
> things' in my DSL and have my GMF editor extract information about
> 'legacy things' from a database.
>
> In my scanning through eclipse projects, CDO looks like an interesting
> technology to achieve this goal, am I thinking along the right lines?
Sure, CDO is an interesting technology, but I'm certainly biased :P

If your DSL is modeled with Ecore than you can easily regenerate it with
CDO support, see http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO

>
> Also, if I am given an arbitrary database schema to work from, how easy
> is it to integrate to a DSL, ie do I need to manually derive an ecore
> model of the database schema or is their something that will
> automagically create such an ecore file?
I wonder how you modeled your DSL, if not with Ecore in the first place.
Note that the EMF generator has an option to export an Ecore file for
models imported from other sources like XSD.

I'm really not sure but there's a chance that Teneo can also derive an
Ecore model directly from an existing database schema. Martin?

Cheers
/Eike

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



>
> regards
> Steve
>
> PS by legacy things I mean some structured data that already exists but
> built by someone else and I need to reference in my DSL now or in
> future.


Re: newbie question - linking existing database repository to DSL [message #621018 is a reply to message #137215] Sun, 14 June 2009 14:28 Go to previous message
Bill HingeFriend
Messages: 156
Registered: July 2009
Senior Member
Thanks Eike

I wasn't sure which newsgroup was most appropriate

regards
Steve

Eike Stepper wrote:
> Steve,
>
> This looks like a EMF, CDO and Teneo question. They are supported in the
> EMF newsgroup, which I've added to this thread.
>
> Comments below...
>
>
> Bill Hinge schrieb:
>> Hi
>>
>> I'm developing a modular DSL based tool, I have a placeholder in my DSL
>> for 'legacy things'. I also have (or intend to be given) a database
>> containing 'legacy things' but I want to create a reference to 'legacy
>> things' in my DSL and have my GMF editor extract information about
>> 'legacy things' from a database.
>>
>> In my scanning through eclipse projects, CDO looks like an interesting
>> technology to achieve this goal, am I thinking along the right lines?
> Sure, CDO is an interesting technology, but I'm certainly biased :P
>
> If your DSL is modeled with Ecore than you can easily regenerate it with
> CDO support, see http://wiki.eclipse.org/Preparing_EMF_Models_for_CDO
>
>> Also, if I am given an arbitrary database schema to work from, how easy
>> is it to integrate to a DSL, ie do I need to manually derive an ecore
>> model of the database schema or is their something that will
>> automagically create such an ecore file?
> I wonder how you modeled your DSL, if not with Ecore in the first place.
> Note that the EMF generator has an option to export an Ecore file for
> models imported from other sources like XSD.
>
> I'm really not sure but there's a chance that Teneo can also derive an
> Ecore model directly from an existing database schema. Martin?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
>> regards
>> Steve
>>
>> PS by legacy things I mean some structured data that already exists but
>> built by someone else and I need to reference in my DSL now or in
>> future.
Previous Topic:newbie question - linking existing database repository to DSL
Next Topic:EEF: When will this link go somewhere: The project has been created. Please visit the project page
Goto Forum:
  


Current Time: Fri Apr 26 13:47:14 GMT 2024

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

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

Back to the top