A Metadata Facility (Annotations) (JSR 175)

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • Bridging the Gap: J2SE 5.0 Annotations by Kyle Downey   - [Clicks: 41]
    This article talks about strategies to bridge yourself to one new 5.0 feature without making the full leap: annotations.
    http://www.onjava.com/pub/a/onjava/2004/10/06/anno1.html - Oct, 2004
  • Annotations in Tiger, Part 1: Add metadata to Java code by Brett McLaughlin   - [Clicks: 66]
    Annotations, a new feature in J2SE 5.0 (Tiger), brings a much-needed metadata facility to the core Java language. In this first of a two-part series, author Brett McLaughlin explains why metadata is so useful, introduces you to annotations in the Java language, and delves into Tiger's built-in annotations. Part 2 covers custom annotations.
    http://www-106.ibm.com/developerworks/java/library/j-annotate1/ - Aug, 2004
  • Annotations in Tiger, Part 2: Custom annotations by Brett McLaughlin   - [Clicks: 38]
    Part 1 of this series introduced annotations, the new metadata facility in J2SE 5.0, and focused on Tiger's basic built-in annotations. A more powerful related feature is support for writing your own annotations. In this article Brett McLauglin shows how to create custom annotations and then how to annotate your annotations to document and customize your code further.
    http://www-106.ibm.com/developerworks/java/library/j-annotate2.html - Aug, 2004
  • Peeking Inside the Box: Attribute-Oriented Programming with Java 1.5, Part 2 by Don Schwarz   - [Clicks: 31]
    In this article I will introduce a completely different implementation of the same JStatusBar that uses thread sampling rather than bytecode instrumentation. I will then combine the two practices to develop a solution that has the best features of each.
    [Includes sample code]
    http://www.onjava.com/pub/a/onjava/2004/07/21/insidebox2.html - Jul, 2004
  • Taming Tiger, Part 3 by Tarak Modi   - [Clicks: 26]
    The Java 2 Platform, Standard Edition (J2SE) Version 5 (previously called J2SE 1.5; Sun has changed its version numbers) contains new and exciting features, many of which have been long awaited for by Java programmers. J2SE 5 - code named "Tiger" - is the most significant revision to the Java language since its original inception. Tarak Modi's primary goal with his three-part series on Tiger is to familiarize readers with J2SE 5's most important additions and show how to capitalize on these additions in the real world. Part 3 focuses on annotations, Tiger's new metadata feature.
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-tiger3.html - Jul, 2004
  • Peeking Inside the Box: Attribute-Oriented Programming with Java 1.5, Part 1 by Don Schwarz   - [Clicks: 30]
    In this article, I have replaced a hard-coded solution with one that uses metaprogramming based on annotations and instrumentation. Although I've eliminated the need for any extra steps in our build process, my solution still has a number of limitations. In the next installment, I will explore a completely different implementation that uses thread sampling, and then combine these two techniques to create a solution that gives the best features of each. I will also discuss a number of additional requirements, including a progress bar and dynamic status messages.
    [Includes source code]
    http://www.onjava.com/pub/a/onjava/2004/06/30/insidebox1.html - Jun, 2004
  • Program Annotation Facility by Benoy Jose   - [Clicks: 38]
    Most Java programmers who have used the Java API reference are familiar with the @deprecated within the comments of a Java method. Some vendors and programmers have cleverly made use of these comments to include information that could be used by specific custom interpreters to do some routine tasks. Finally, the annotation facility is being included into the J2SE 1.5 tiger release.
    http://javaboutique.internet.com/tutorials/annotation/ - Jun, 2004
  • Extending Metadata Recognition by Kito D. Mann   - [Clicks: 32]
    The metadata facility will be a great addition to the Java platform. It can reduce the number of XML files to be managed and might just put Java on an equal level with .Net.
    http://www.ftponline.com/javapro/2004_06/online/kmann_06_16_04/ - Jun, 2004
  • Declarative Programming in Java by Narayanan Jayaratchagan   - [Clicks: 82]
    JSR-175 introduces Java annotations, a means of attaching metadata to your Java classes. Narayanan Jayaratchagan looks at how annotations work in J2SE 1.5 and the many ways in which they can be used.
    http://www.onjava.com/pub/a/onjava/2004/04/21/declarative.html - Apr, 2004

[Top]