Castor's source generator was primarily built for Castor XML, though
some people do use it with Castor JDO.
The input file to the Source Generator is an XML Schema file.
--Keith
Annie Zhang wrote:
>
> Hi Dave,
>
> Than you very much. I agree with you totally!
>
> Another problem I have is I don't know how to generate the java files using
> Castor. What tools do you used? Can it generate Castor compatible java code?
>
> Thanks very much.
>
> Annie
>
> ----- Original Message -----
> From: "Dave Newton" <[EMAIL PROTECTED]>
> To: "Annie Zhang" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 27, 2002 4:23 PM
> Subject: RE: source generator
>
> > Hi,
> >
> > I've been using a hand-rolled code generator to create beans, form beans,
> > etc. and what I've done is subclassed the beans when I want to add
> > functionality. That way when I re-run the code generator my new stuff
> isn't
> > gone! I have to change my subclasses sometimes, but that's life.
> >
> > For example:
> > UserBean (contains DB access, etc.)
> > UserBeanX (contains a function called "login")
> >
> > So when I recreate UserBean using my code tools UserBeanX doesn't always
> have
> > to change.
> >
> > Dave
> >
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev