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 |
Bill Hinge 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 |
|
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.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: newbie question - linking existing database repository to DSL [message #137224 is a reply to message #137215] |
Sun, 14 June 2009 14:28 |
Bill Hinge 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 |
|
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.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: newbie question - linking existing database repository to DSL [message #621018 is a reply to message #137215] |
Sun, 14 June 2009 14:28 |
Bill Hinge 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.
|
|
|
Goto Forum:
Current Time: Tue Nov 12 19:48:24 GMT 2024
Powered by FUDForum. Page generated in 0.02567 seconds
|