Jody Garnett a écrit : > So far our factory design has served us well (allowing the > hibernate 4 annotations to live on a specific implementation and not > impact the rest of the code base). Can you give this technique a try > Martin?
We could, but it would leads to a brand new set of implementation classes. My goal was to add annotation on existing classes in order to avoid the duplication of ~100 new classes. The JAXB dependencies is actually JAXB-API only, which is 88 kb. But as I explained in my previous mail, I can avoid totally the introduction of any dependency, on the base that JAXB 2.0 is bundled in Java 6 and, for Java 5 users, we can manage to get annotations totally erased in the compiled products thanks to @Retention(RetentionPolicy.SOURCE). http://java.sun.com/javase/6/docs/api/java/lang/annotation/RetentionPolicy.html#SOURCE Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
