21.1. What's Covered Here?In this chapter, we will be discussing two complementary annotation systems: XDoclet and J2SE annotations. XDoclet is arguably the most popular open source annotation tool in the Java community. We'll examine various ways that you can use the annotations available in XDoclet to make enterprise development tasks easier. The examples shown in this chapter were written using XDoclet 1.2.3. We also provide an overview of the J2SE 5.0 annotation facility, which is now part of the Java language and is the basis for various proposed annotation extensions to key Java enterprise APIs like EJB and JAX-RPC. The annotation facility built into J2SE is based on the JSR-175 specification. The J2SE annotation examples shown in this chapter were developed using J2SE 5.0 update 2. |