Hi ,

I am currently working an a mapping workbench (rdbs2j).
I am using an ObjectModel internaly which is created by an XML Document
which is also used
for loading and saving the object model. At the moment I am starting with an
SQL script file
parsing the file, generating the XML File and then the object model. from
the xml file.
The clue is that I could plug in as many data sourced (parsers, JDBC
plugings etc) at I want
because the interface is very small and simple.
On the othe 'end' I use velocity. So writing custom generators for
generating other code than
JDO is simple too. JDO is only an example of the possibilities.

Between the tho edges is a object model which holds all information about
the tabes, foreign keys,
primary key's and attributes etc. an a second layer which is an OO view on
the persistent model.
The mapping layer has classes, attributes associations and everything you
may need to generate code.
The model is designed in a way which allows to implement compare methods so
that I could
compare one object model to an other one. So for roudtrip I would need an
source code
or repository.xml parser which generate my XML file. This should be simple.
And then I would have
to implement the compare methods. I think ths should not be too difficult
too. I considered this at the
design of the object model. I just did not implement it so far.
If I am able to compare object model I could merge it to an new one by
doning some things automatically
and asking the user some questions about mappings I could not merge
automatically.

The problem is that the project is my dissertation submitted for a diploma.
I am not sure if I get problems with that if I put the project on
sourceforge too early.
Maybe that somebody on the university thinks that I didn't write my
dissertation alone.
On the other hand I have only 2 mounth of time left and my code (except the
compare/merge) has reached
beta state. So I am fixing some bugs but I am able to generate code and use
the mapping gui already.
I will ask my professor if I could put it on sourceforge earlier. If I hope
that two month is not too long.

best regards,

Guido


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to