Martin Desruisseaux a écrit : > We annotate classes on an oportunist > basis because they already exists - we do not create any data-transfert > classes > inside the GeoTools project. This is like adding "implements Serializable" to > existing classes: must users will never use this serialization mechanism, but > those we do appreciate having it.
Just to add more on it: having java.io.Serializable classes allow their use with other Sun's technologies. For example when using Remote Method Invocation (RMI) with the default transport protocol, the argument given to any remote method must be serializable. Similary, having JAXB annotated classes allow their direct use with other Sun's technologies built around Glassfish. Peoples use it or not; but at least having serializable classes give them the choice. Martin ------------------------------------------------------------------------- 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