Tuesday Sep 24, 2013

Pointers to Related Information for the Tuesday 9/24 JavaOne Enterprise Talks and BOFs

Here are some links that provide background information for the JavaOne sessions and BOFs in the Java EE Web Profile and Platform Technologies track on Tuesday, September 24.

JavaOne 2013: Nashorn – JavaScript on the JVM

On Monday, September 23, James Laskey (Oracle) gave his first presentation at JavaOne 2013 entitled Nashorn: JavaScript on the JVM. He talked about Nashorn, a JavaScript engine implemented fully in Java on the JVM. It is based on the Da Vinci Machine (JSR 292) and will be available with JDK 8.

On the same day, Viktor Gamov (Farata Systems) gave a presentation entitled Nashorn: Java and JavaScript—Shaken, Not Stirred. His presentation focused on building polyglot applications with Java and JavaScript.

For more information about Nashorn, see the Nashorn User's Guide. For information about scripting on the Java platform in general, see the Java Scripting Programmer's Guide.

JavaOne 2013: Oracle Java Mission Control

On Monday, September 23, Marcus Hirt (Oracle) gave his first presentation at JavaOne 2013 entitled Production-Time Profiling Out of the Box. He talked about the latest addition to JDK 7: Oracle Java Mission Control, a tool suite for low-overhead production-time profiling and diagnostics that originated with the JRockit Mission Control. As part of the convergence between the HotSpot and Oracle JRockit JVMs, Oracle Java Mission Control is now available in the HotSpot JDK.

For more information about Oracle Java Mission Control, see the JMC User's Guide.

Monday Sep 23, 2013

JavaOne 2013: JavaFX WebView Enhancements

Today, Per Bothner and Anton Tarasov are about to give a BOF entitled Enhanced HTML5 Support and Other Improvements in JavaFX WebView. They will be talking about the new features of the WebView component including the recently added support for HTML5 Web Workers, WebSocket, Web storage, and Web fonts as well as many performance improvements.

Specially for JavaOne, the WebView tutorial was updated to cover the newly supported features of HTML5 and additional printing capabilities of JavaFX WebView. See the following chapters for more information:

JavaOne 2013: JDK 8 Date and Time APIs

At JavaOne 2013, Roger Riggs (Member of Technical Staff at Oracle) and Stephen Colebourne (Member of Technical Staff at OpenGamma) gave a presentation entitled Introducing the Java Time API in JDK 8 [CON6064]. They talked about the primary classes in the API, and how they differ from the java.util date classes. Topics covered included how to write code that deals with calendars, time zones, as well as how to format and parse date and time values.

The new Date-Time trail in the Java Tutorial covers these topics and more, including:

JavaOne 2013: Deploying Java Applications Securely

Monday at JavaOne, Andy Herrick, Mark Howe, and David DeHaven talked about best practices for making Java applets and Java Web Start applications more secure in the Deploying Java Applications Securely conference. Andy, David, and Thomas Ng will also be hosting a BOF session on Tuesday, Java Deployment Security, Features, and Best Practices.

For additional information on secure deployments, see Guidelines for Securing Rich Internet Applications in the Java Tutorials. The Deploying an Applet and Deploying a Java Web Start Application lessons summarize the deployment steps, including security recommendations such as using manifest attributes and signing the JAR file.

The Deployment Rule Set feature for enterprise environments is described in Deployment Rule Set in the Java RIA Development and Deployment guide. This guide also provides a flow chart of how deployment works in Rich Internet Application Deployment Process.

JavaOne 2013: Jump-starting Lambda Programming and The Road to Lambda

At JavaOne 2013, Stuart Marks presented the conference " Jump-starting Lambda Programming," and Paul Sandoz and Brian Goetz presented the conference "The Road to Lambda."

To learn more about lambda, see Lambda Expressions in the Java Tutorials. The conference "Jump-starting Lambda Programming" discusses the new Stream library; see the lesson Bulk Data Operations to learn more about this library. The conference "The Road to Lambda" discusses the new parallel stream libraries; see the section Parallelism for more information.

Pointers to Related Information for the Monday 9/23 JavaOne Enterprise Talks and BOFs

Here are some links that provide additional information for the conference talks and BOF that will be help on Monday, September 23rd:

Java EE 7 Tutorial Updated for JavaOne 2013!

The latest update to the Java EE 7 Tutorial has gone public, just in time for JavaOne 2013. Update 7.0.3 includes several bug fixes and additions to the documentation and examples, and also includes the following new or substantially revised examples:

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

JavaOne 2013: New Styling Capabilities for Custom Controls

Today at JavaOne 2013, Danno Ferrin is going to talk about Styling Your Custom Components with CSS in JavaFX.
In this session, you will learn how to use the new styling APIs to make your custom controls CSS-stylable.
You can also learn about Customization of UI Controls from the JavaFX UI Controls tutorial.
In addition, review Skinning JavaFX Applications with CSS and JavaFX CSS Reference Guide to get more information about the use of CSS styles and properties available in JavaFX.

Friday Sep 20, 2013

JavaFX 8 Developer Preview Documents Released!

JavaFX Documentation

JavaFX 8 Developer Preview Documents were published today on http://docs.oracle.com/javafx. They comprise Getting Started with JavaFX 3D Graphics, Adding HTML Content to JavaFX Applications, and Embedding Swing Content in JavaFX Applications.

3D Graphics

A new document, Getting Started with JavaFX 3D Graphics, introduces the 3D graphics features that are included in the upcoming JavaFX 8 APIs. The features include 3D shapes, camera, lights, subscene, materials, and picking. The document also steps you through the creation of a simple 3D sample application, MoleculeSampleApp, that uses some of the 3D features discussed in the document.


The JavaFX WebView tutorial was extended to highlight the new features and improvements in the JavaFX 8 Web component. Review Supported Features of HTML5 for more information about additional HTML5 features including Web Sockets, Web Workers, and Web Fonts. Make the most of your WebView based applications with the new printing capabilities covered in Printing HTML Content.

Embedding Swing Content

The ability to embed JavaFX content in Swing applications has existed since the JavaFX 2.0 release. This tutorial introduces the SwingNode class available in the JavaFX 8 APIs that provides reverse integration. A new document describes how to embed Swing components in JavaFX applications and provides working applications that illustrate Swing buttons with HTML content embedded in a JavaFX application and interoperability between Swing and JavaFX buttons.

Tuesday Sep 10, 2013

JavaFX 2.2.40 Documentation Introduces the New Deployment Features

The JavaFX Deployment Guide was updated for the JavaFX 2.2.40 release to describe the new User JVM Arguments in the Ant tasks. Now you can create applications that allow users to override jvm options. For example, users can change the heap size for the application.

A new <fx:jvmuserarg> attribute has been added to <fx:platform>. This new attribute explicitly defines an attribute that can be overridden by users. For instance:

        <fx:jvmuserarg name="-Xmx" value="768m" />

For this specific case, -Xmx768m is passed as a default value for the heap size. The user can override this value in a user configuration file (on Linux and Mac) or in the registry in Windows.

For more information see the Deploying JavaFX Applications guide.

JavaFX Scene Builder 1.1 General Availability Released!

JavaFX Scene Builder 1.1 has reached General Availability (GA) and is now live!

You can download it from the JavaFX Downloads page.

This version includes support for the Linux platform, a new CSS Analyzer feature, and several usability improvements. For additional information on what's included with the release, see the Scene Builder 1.1 Release Notes.

The release also includes various updates to the Scene Builder 1.1 documentation, including the Using JavaFX Scene Builders with Java IDEs document.

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.


« September 2013 »