> Middlegen works fine if you already have your database schema...which
is
> more often than not the case.....(I actually started to write my own
tool
> to
> do the same thing until I realised that the wheel was already
invented).
> But if your XML Schema (which we use for validation against XML input)
> already exists and already describes your object, and you don't have
your
> database schema created then why not?
>
> What I like about XDoclet concept is that my starting point can easily
be
> anywhere.....as long as my end point is a Bean with all the XDoclet
> tags....
You're reading my mind :o)
Anyway what I think we need is a generic anywhere->xdoclet architecture,
and the reverse. I mean it should also be round-trip, but for the
anywhere->xdoclet part we need something more or less similar to xbeans'
architecture:
Dbschema + human assistance ->
(XDocleted source) -> dhschema/xmlschema
Xml schema + human assistance ->
Say you have a legacy db, use middlegen to get some xdoclet-ed source,
then add new attributes, specify the @blabla:sql-type/etc, run it and
let it generate the new db schema, then you have a session with your DBA
and change some db fields, run middlegen again and merge the new
changes!
Just imagine how cool it'd be :o)
> When you say the other tools (plural) are still under development did
you
> mean Middlegen and Reverse XDoclet only? or have you looked into
adding
> creation from XML Schema?
I would if I was an Octopus capable of writing code with 8 hands ;-)
> ..so many times when you think something is an interesting idea you
find
> that it has already been done - so I would be surprised if someone
hasn't
> already started work on something similar. (I did see a project on
> Sourceforge but the last activity was April...)
I myself want to concentrate on xdoclet core, because I don't have
enough time for yet another project. I leave the task to other ppl,
other tools, to the community.
Cheers,
Ara.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user