Ale wrote: >> 3)I read in a message from this mailing list that "JAXB forces a base-class >> for generated classes" but i don't undertstand what exactly means!
JAXB generates its Java classes that reflect the data in a DTD. The generated Java classes extend a class in the JAXB package structure. Your single chance to inherit from an object has been used up by the tool! Castor-generated classes, on the other hand, do not extend any Castor classes. You can optionally specify a class of your own to be extended. Furthermore, if you pass the -nomarshall option to the SourceGenerator, the generated classes will not even have any Castor compile-time dependencies. -----Original Message----- From: Alessandro Salina [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 8:27 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Castor vs Jaxb Hi, friends there. I'm quite new here. So if you find my questions silly, don't laugh. :-) I must decide if use Castor or Jaxb in my application. 1)Why should i use Castor instead Jaxb and vice versa?? 2)What are the principle differences? 3)I read in a message from this mailing list that "JAXB forces a base-class for generated classes" but i don't undertstand what exactly means! tx everybody!! Ale ----------------------------------------------------------- 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
