Re: AW: AW: [Objectbridge-developers] generating mapping files and da taba ses
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2001-08-26 10:20:39
|
Hi Lasse, Lasse Lindg=E5rd wrote: > = > Have you looked at the http://castor.exolab.org format for mapping file= s > ?? > = > As far as I can read from their mailing list several project exists tha= t > can generate castor mapping files. DDL programs also exists. > = > I don't know castor JDO that well, but I looked at the mapping files an= d > they look pretty much the same contentwise as the objectbridge ones. > = > Wouldn't that be better than reinventing the wheel ? Sure the best thing would be to have a standardized DTD for O/R mappings. There are also some attempts in this direction (see for example Jon Garfunkels LORAX project http://www.coopdata.net/software/lorax/). There is also XMI which tries to be a unifed standard for UML models... There is also a DTD for describing mappings in JDO... But I none of these attempts has succeeded as a generally accepted standard. I also had a look at the Castor DTD. Of course it has things in it we could reuse. But it's all so intermixed with stuff for XML mapping, LDAP access, etc. that I won't like to have it as grammar for describing O/R mapping. Sure it would be great to have an O/R mappings interchangeable between both tools! = So long as there is no standard I guess the best thing we can do is to have a very simple DTD that fits all OJB mapping needs and nothing more. This will keep parsing simple. Once there is an established standard we can easily adopt to it. --Thomas > = > /Lasse > = > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > http://lists.sourceforge.net/lists/listinfo/objectbridge-developers |