Tuesday Sep 30, 2014

Java 2014: Using Oracle Java Flight Recorder

Today, Marcus Hirt (Consulting Member of Technical Staff, Oracle) and Michael Avrahamov (Sr. Director of Software Development, Oracle) hosted the session Using Oracle Java Flight Recorder. Java Flight Recorder (JFR) is a tool for collecting diagnostic and profiling data about a running Java application. It is a feature of Oracle Java SE Advanced and Oracle Java SE Suite. The session showed how JFR works, different ways to control JFR, and examples of how to analyze recordings in different ways.

For more information, see Java SE Java Flight Recorder Runtime Guide.

JavaOne 2014: Using Type Annotations to Improve Code Quality

Today, Geertjan Wielenga (Principal Product Manager, Oracle) and Werner Dietl (Assistant Professor, University of Waterloo) hosted the session Using Type Annotations to Improve Code Quality. This session discussed how you can use type annotations to improve code quality through fine-grained documentation and support for pluggable type systems.

For more information, see Type Annotations and Pluggable Type Systems in the Java Tutorials.

JavaOne 2014: You’ve Got Your Streams on My Collections!

Today, Mike Duigou (Principal Member of Technical Staff, Oracle), Stuart Marks (Principal Member of Technical Staff, Oracle), and Paul Sandoz (Software Engineer, Oracle) hosted the community discussion You’ve Got Your Streams on My Collections! Topics discussed included the state of the Java Collection and Streams APIs and some of the best third-party libraries.

For more information about the Collections and Streams API, see Aggregate Operations and the Collections trail in the Java Tutorials.

JavaOne 2014: Understanding Java Garbage Collection

Today, Gil Tene, CTO, Azul Systems, presented the conference Understanding Java Garbage Collection. The conference classifies various garbage collection techniques currently available in JVMs such as generational, parallel, stop-the-world, incremental, and concurrent algorithms, and defines terms and metrics common to all collectors.

See the Java SE HotSpot Virtual Machine Garbage Collection Tuning Guide for more information.

JavaOne 2014: JavaFX 8, New and Noteworthy

Monday at JavaOne, Kevin Rushforth and Steve Northover of Oracle presented JavaFX 8: New and Noteworthy at JavaOne. This talk described features added to JavaFX 8.

For more information on JavaFX 8 features, see:

JavaFX documentation is available at http://docs.oracle.com/javafx

JavaOne 2014: Lambda Expressions in Java ME Embedded

Today at JavaOne, Sergey Troshin, a staff engineer at Oracle, gives a presentation on Lambda Expressions in Java ME Embedded.

Lambda expressions, the most important feature of Java 8, are tightly integrated into the entire Java platform. In this presentation, you learn how lambda expressions can be leveraged in the Java ME embedded.

JavaOne 2014: Java ME 8 Scales from the Desktop to Tiny Embedded

Today, Terrence Barr, a senior technologist and principal product manager for Java ME, will be talking about new Java ME 8 features — such as profile sets and optional APIs, modular services, shared libraries, peripheral device I/O, and more.

From his presentation you can learn how to create hardware-independent and scalable software that delivers embedded intelligence across a variety of embedded use cases.

Find more information about Java ME Embedded 8 at the Java ME documentation portal.

Monday Sep 29, 2014

JavaOne 2014: Nashorn: JavaScript for the JVM

Today, Jim Laskey, multi-languages lead at Oracle, presented the conference Nashorn: JavaScript for the JVM. Nashorn is a JavaScript engine implemented fully in Java on the JVM.

For more information, see the Nashorn User's Guide.

JavaOne 2014: The Java Time API in Java SE 8

Monday, Roger Riggs of Oracle gave a presentation about The Java Time API in Java SE 8. This API was introduced in JDK 8 and makes it easier for developers to write date-and-time-based code.

For more information on this API, see the Date Time Trail in the Java Tutorials.

JavaOne 2014: Security with Java Deployment

Monday at JavaOne, David DeHaven and Chris Bensen of Oracle gave a presentation on Security with Java Deployment, which covers the changes that were made in the deployment security model over the past few years. Best practices were also discussed.

For additional information about the topics covered, see the following Java documentation:

JavaOne 2014: Lambda Expressions, Streams, and JDK 8 Enhancements to Collections

The following JavaOne presentations, scheduled for Monday, September 29, discuss lambda expressions, streams, and JDK 8 enhancements to collections:

For more information about these topics, see the following sections in the Java Tutorials:

Java ME Embedded 8.1 Developer Preview on FRDM-K64F is Live!

The Oracle Java ME Embedded 8.1 Developer Preview on FRDM-K64F offers a feature-rich and optimized Java ME 8 runtime in 190 KB RAM, enabling highly functional Java Embedded applications on single-chip micro-controller system.

Find more information about the available features and platform limitations in the Release Notes. Study the Getting Started Guide to try the Developer Preview release on FRDM-K64F in action.

You can also preview an early access version of the Java ME Optimization Techniques Guide, the newly added chapter of the Java ME Embedded Developer's Guide.

Java ME documentation will highly appreciate your responses to the Java ME Documentation Survey. This survey is set specifically to collect readers' feedback and better understand preferences of the developer community.

Monday Sep 15, 2014

First Cup and Java EE 7 Tutorial Updated!

On September 9th, Update 1, a significant update to the Java EE 7 SDK, was released. You can get the new SDK from here. Update 1 includes updates to the Java EE 7 Tutorial as well as to the First Cup tutorial. Version numbers for both tutorials are now 7.0.5. The tutorial updates include many bug fixes, both in the examples and in the documentation. Although most of these fixes were small, taken together they should improve your experience using the tutorials.

These are the most significant example fixes:

  • Fixed locale-specific problems in dukeetf and dukeetf2 that were caused by the character used as a separator.
  • Fixed problems in Duke's Forest and Duke's Tutoring examples that were caused by a GlassFish package renaming exercise. See this blog entry on the Aquarium for more information.
  • Rewrote the Batch Processing phonebilling example to obtain properties in partitioned steps in a way that complies with the JSR 352 specification and works with the jbatch implementation in GlassFish as well as the JBeret implementation in Wildfly. We inadvertently wrote the example in a way that caused an NPE in JBeret/Wildfly. This fix was completed the day that we shipped, so you'll need to use Update Tool to pull down the package (javaee-tutorial 7.0.5, 1-2) that includes this fix.

Note: The SDK is now available only in ZIP format, which should work on all platforms. There is no installer. The Update Tool is not included with the distribution. You must install it from the command line (issue the updatetool command) or by using NetBeans IDE (from the Services tab, open Servers, right-click GlassFish Server, select View Domain Update Center, then follow the prompts to download and install it).

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

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

Tuesday Aug 19, 2014

JDK 8u20 Documentation Updates

JDK 8u20 has been released and is available from the Java Downloads page. See the JDK 8u20 Update Release Notes for details.

Highlights for this release:

  • The Medium security level has been removed. Now only High and Very High levels are available. Applets that do not conform with the latest security practices can still be authorized to run by adding the sites that host them to the Exception Site List. See Security for more information.

  • The javafxpackager tool has been renamed to javapackager, and supports both Java and JavaFX applications. The -B option has been added to the javapackager deploy command to enable arguments to be passed to the bundlers that are used to create self-contained applications. See javapackager for Windows or Linux and OS X for information.

    The <fx:bundleArgument> helper parameter argument has been added to enable arguments to be passed to the bundlers when using ant tasks. See JavaFX Ant Task Reference for more information.

  • A new attribute is available for JAR file manifests. The Entry-Point attribute is used to identify the classes that are allowed to be used as entry points to your application. See Entry-Point Attribute for more information.

  • A new Microsoft Windows Installer (MSI) Enterprise JRE Installer, which enables users to install the JRE across the enterprise, is available for Java SE Advanced or Java SE Suite licensees. See Downloading the Installer in JRE Installation For Microsoft Windows for more information.

  • The following new configuration parameters are added to the installation process to support commercial features, for use by Java SE Advanced or Java SE Suite licensees only:

    USAGETRACKERCFG=
    DEPLOYMENT_RULE_SET=
    

    See Installing With a Configuration File for more information about these and other installer parameters.

Documentation highlights:

  • New Troubleshooting Guide combines and replaces the Desktop Technologies Troubleshooting Guide and the HotSpot Virtual Machine Troubleshooting Guide to provide a single location for diagnosing and solving problems that might occur with Java software.

  • New Deployment Guide combines and replaces the JavaFX Deployment Guide and the Java Rich Internet Applications Guide to provide a single location for information about the Java packaging tools, creating self-contained applications, and deploying Java and JavaFX applications.

  • New Garbage Collection Tuning Guide describes the garbage collectors included with the Java HotSpot VM and helps you choose which one to use.

  • The Java Tutorials have a new look.

Java Components Landing Page and Documentation Updates

The new Java Components page provides access to the documentation for tools that are available for monitoring, managing, and testing Java applications. Documentation for the new versions of the following tools is available:

  • JavaTest Harness 4.6. The JavaTest harness is a general purpose, fully-featured, flexible, and configurable test harness that is suited for most types of unit testing. See the JavaTest tab for documentation.

  • SigTest 3.1. SigTest is a collection of tools that can be used to compare APIs and to measure the test coverage of an API. See the SigTest tab for documentation.

The following tools are part of Oracle Java SE Advanced and Oracle Java SE Suite.

  • Java Mission Control and Java Flight Control 5.4 are supported in JDK 8u20. Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. See the JMC tab for documentation.

  • Advanced Management Console 1.0 is a new tool that is now available. AMC can be used to view information about the Java applets and Java Web Start applications running in your enterprise, and create deployment rules and rule sets to manage the execution of these applications. See the AMC tab for documentation.

  • Usage Tracker tracks how Java Runtime Environments (JREs) are being used in your systems. See the Usage Tracker tab for documentation.

About

Blog about Java technology documentation and news about Java releases.

Search

Categories
Archives
« April 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today