Tuesday Apr 15, 2014

Java EE 7 Tutorial Updated!

The latest update to the Java EE 7 Tutorial is now public. Update 7.0.4 includes many bug fixes, both in the examples and in the documentation. Although most of these fixes were small, taken together they significantly improve the quality of the tutorial.

Kin-man Chung conducted a thorough review and provided several corrections and good suggestions that we incorporated to greatly improve Chapter 9, Expression Language.

Additional instructions for using the user and administrative interfaces in Duke's Tutoring case study were added.

We went through all of the examples and cleaned up the code to minimize warnings that you could see when you ran the examples or used the IDE's code editor to examine the files that made up the examples.

We verified that all of the examples work properly with the latest versions of JDK 7, JDK 8, and NetBeans IDE 8.0.

We incorporated the copy edits that came back from our publisher, so what you see online will match what you see in the two-volume printed set that will be available from your favorite booksellers next month.

Follow the instructions in Section 2.1, Required Software to obtain and install the update.

Tuesday Jan 14, 2014

Java Tutorial JDK8 Early Access Updates

An updated Java Tutorial was released today to coincide with the release of JDK 7u51. In addition to the changes for the 7u51 release, this update includes the following changes to JDK 8 early access documentation:

  • The Type Inference section in the Generics trail has been updated with the section Target Types, which describes how the Java compiler takes advantage of target typing to infer the type parameters of a generic method invocation in JDK 8.

  • The names of the formal parameters of any method or constructor in JDK 8 can be obtained with the method java.lang.reflect.Executable.getParameters. See the section Obtaining Names of Method Parameters.

  • The Interfaces and Inheritance trail has been enhanced with information about Default Methods in JDK 8, which are methods in an interface that have an implementation. In addition, you can define static methods in interfaces.

  • The Collections trail has been updated with new Questions and Exercises for Interfaces and Aggregate Operations in JDK 8. These updates help you focus on some important points when working with lambda expressions, streams, and aggregate operations.

For more information on JDK 8 Early Access documentation, see JDK 8 Documentation - Developer Preview Release.

Tuesday Oct 15, 2013

Java Tutorials JDK 8 EA: Collections Trail

The Collections trail in the Java Tutorial has been updated to describe the preferred method of traversing collections with JDK 8, which is obtaining a stream and invoking its aggregate operations. Aggregate operations are often used with lambda expressions to make programming more expressive using fewer lines of code. The Collection, Set, List, and Map interface pages now contain examples that demonstrate this new language feature.

Tuesday Sep 10, 2013

Java Tutorial JDK 8 Early Access Updates

An updated Java Tutorial was released today to coincide with the release of JDK 7u40. In addition to the updates for the 7u40 release, this update also includes new JDK 8 early access documentation:

  • We are pleased to announce the release of the new Date-Time trail. The Date-Time APIs, coming in JDK 8, are a result of the work from JSR 310 and provide a comprehensive model for date and time. The new trail covers the classes based on the standard ISO calendar system and includes info on converting date and time values to other calendar systems. There is also a Legacy Date-Time page on migrating from the java.util date classes to the new java.time APIs.

  • The Bulk Data Operations lesson has been added to the Collections trail. Bulk data operations iterate over collections on your behalf, which enables you to write more concise and efficient code that processes elements stored in collections.

Also, for this release, the Java SE Tutorials Download page has been updated with a new zipfile of the tutorial bundle and new ebook files (in both epub and mobi formats) for all trails, including the new Date-Time trail.

For more information on JDK 8 Early Access documentation, see JDK 8 Documentation - Developer Preview Release.

JDK 7u40 and JavaFX 2.2.40 Documentation Updates

We are pleased to announce that the Java Development Kit 7 Update 40 (JDK 7u40) release with JavaFX 2.2.40 is live. You can download it from the Java SE Downloads page. Find more information about the new features in the JDK 7u40 Release Notes.

The JDK 7u40 release comes with various updates to the Java documentation.

  • Java Mission Control (JMC), a commercial feature now bundled with the JDK, is a suite of tools for monitoring, managing, and profiling your Java application. The guide documentation now includes the Java Mission Control User's Guide. You can also view the Java Mission Control Release Notes.

  • Java Flight Recorder (JFR), part of the JMC release, is also now bundled with the JDK. The guide documentation now includes the Java Flight Recorder Runtime Guide.

  • The Deployment Rule Set feature is for enterprises that manage their Java desktop environment directly, and provides a way for enterprises to continue using legacy business applications in an environment of ever-tightening Java applet and Java Web Start application security policies.

  • The Rich Internet Application Deployment Process section in the Deployment Guide provides a look at how the deployment of RIAs is handled.

  • Running rich Internet applications (RIAs) through a browser can be risky for users due to the malicious intent of others looking for vulnerabilities through which to access a user's system. Guidelines for Securing Rich Internet Applications, in the Deployment trail of The Java Tutorials, provide suggestions for making your RIAs less vulnerable to attack.

  • The JAXP trail in The Java Tutorial has been updated with a new JAXP 1.5 and New Properties lesson.

  • A new page, Language Tag Filtering and Lookup, has been added to the Setting the Locale lesson in the Internationalization trail of the Java Tutorial. This page discusses language tags, languages ranges, and language priority lists, which were introduced in JDK 7. It also includes sections about language tag filtering and language tag lookup, with plenty of examples that you can compile and run.

For all tutorials, guides, and API documentation, see Java SE Technical Documentation and JavaFX 2 Documentation.


Blog about Java technology documentation and news about Java releases.


« July 2016