In my opinion the first path is most developmental and elastic. In my apps the basic model (XSD) is created in XML SPY. Next i'm generating object model in Castor Source Gen.
My application using unmarshalling and marshalling to operate on large XML Documents. XSD used for object model generation is specially designed (is mostly based on Types Definition and inheritance) so that causes that my object model is very flexible because methods and services for each objects are separated from objects that holds only values. (relation MyObject_methods -> (inherits) -> MyObject_attributes_with getters_and_setters) That causes my application is easy to maintenance. All changes are made only on XSD level. On example i'm adding some attributes to xsd, regenerating model with Source Generator and writing some service methods operating on new attributes (service object are separeted from object that folds values so i'm overwriting only value objects). Next i'm using JDO to hold my XML data in DB. I think that solutions based on XSD model as a main maintenance and project design document and separating functionality (methods and services) from objects is quite good solution for fast and flexible developing. -----Original Message----- From: Sergej Maslyukov [mailto:serg_main@;yahoo.com] Sent: Thursday, October 17, 2002 4:43 PM To: [EMAIL PROTECTED] Subject: [castor-dev] The future of development of applications Hi! I would like to find out your opinion on the future of development of applications. Now there are some technologies permitting to reduce time of designing of the applications storing the information in databases - w3c schema, castor SourceGenerator, doclet, JDO and others. My question consists in SLEDU]EM, what path is preferable: - to start development from the schema (XMLspy?), on the basis of the schema to create a java classes (castor sourcegenerator) and tables (castor jdo, doclet) in the database - to create tables in the database (case tools - ERwin, Oracle designer?) to generate on their basis the schema (XMLspy) and a java classes (castor sourcegenerator?) - or there is other path? Serg Maslyukov __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ----------------------------------------------------------- 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
