On Wed, Jun 25, 2008 at 5:58 PM, Martin Desruisseaux <[EMAIL PROTECTED]> wrote: > Simone Giannecchini a écrit : >> >> My main concern with using JAXB and its annotations is that it make >> hard if not impossible to use others technologies like hibernate which >> can use annotations themselves. > > As stated in an earlier email, annotations are fully qualified constructs > like any Java classes. JAXB annotations can not conflict with Hibernate > annotations even if they have the same name, because they live in different > packages. > > Nothing prevent us from putting JAXB + Hibernate annotations on the same > classes.
I have never tried to use different annotations sets on the same classes, so I have to trust you here. Nevertheless, having two different sets of annotations on the same file looks a bit messy to me and this is one of the reasons why I would rather avoid to add any if possible. Simone. > > >> Second concern I have it towards file size increase. I use geotools in >> webstart apps where size is an issue, hence I would like to avoid >> anything that make the esize of the lib growt, at least the size of >> the core parts or it. > > As stated in an earlier email, there is a recognized need for providing > different flavor of GeoTools (with/without JAXB, full/trimmed referencing, > etc.). Mercurial is an approach under consideration for that. > > Martin > > -- ------------------------------------------------------- Eng. Simone Giannecchini President /CEO GeoSolutions S.A.S. Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it ------------------------------------------------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel