An update of the Java Tutorial has gone live. This March 2013 edition of the tutorial contains early access information on some upcoming Java SE 8 features:
- Lambda expressions, a result of the work of Project Lambda, are a feature being added to the JDK 8 release of the Java platform. Lambda expressions support programming in a multicore environment by adding closures and related features to the Java language. An early access page on Lambda Expressions is part of this tutorial release. As part of this work, the information on Nested Classes, Anonymous Classes, and Local Classes have been updated and a new page on When to Use Nested Classes, Local Classes, Anonymous Classes, and Lambda Expressions has been added.
- The Annotations page has been moved and expanded to be a full Annotations lesson. The new lesson includes information on Java SE 8 features: Type Annotations, which can be used in conjunction with pluggable type systems for improved type checking, and Repeating Annotations.
- The lesson Service Providers for Internationalization includes the new section Installing a Custom Resource Bundle as an Extension, which shows you how to load resource bundles with service provider interfaces (SPIs). These interfaces enable you to create applications that you can extend, through plug-ins or modules, without modifying their original code base. See the new section Creating Extensible Applications for more information.
Note that this new material is currently available online only.
Originally published on the Java Tutorial blog by Sharon Zakhour on Mar 01, 2013.