Five Favorite Features from 5.0 (4 tags)
A lot has been written about Java 5.0's great new features, leaving David Flanagan to focus on this review of five of his favorite new API features: the Callable and Future interfaces, new APIs for varargs and autoboxing, new ability interfaces, the @Override annotation, and MatchResult. Read to the end, where David reveals a bonus sixth feature, a new language syntax supported by Java 5.0 but known to very few. David is the author of Java in a Nutshell, 5th Edition.
Declarative Programming in Java (2 tags)
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.