On 2002.01.29 11:12:29 -0500 "Shaw, Chris" wrote:
> Hi,
> 
> It seems that we have several choices regarding 'XDoclet-aware' beans...
> * Hand-code
> * Middlegen
> * reverse-XDoclet

I've also been working anemically on emacs-jde templates to generate
classes and methods including the tags.

david jencks
> 
> Has anyone thought about, or already seen/used some tools to create these
> Beans from an XML Schema?

Nice idea, how could you include custom code?

..you hit the same limitations that you find with most auto-generated code
(AFAIK) - whether it be from TOPLink, Middlegen, or using XSLT on an XML
Schema - you can't do it easily (fully automated) unless your custom code
extends your main code. Personally I prefer to keep the *actual* Bean as
small and simple as possible and put the customer code in a Helper...double
the classes but you also gain in other areas (swings & roundabouts).

Here we just run auto-generation and amended our Helpers if needed....
 
> If I already have my objects described in an XML Schema it seems like
> duplication if I then have to create a Bean file (and database schema,
> and
> .....)????

..and I forgot to add also Cocoon-ready XML GUI, base JUnit test cases......

or am I dreaming about the impossible/improbable?

Chris
-=-=-=

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to