Thursday Apr 25, 2013

JavaOne Russia: First-Hand Impressions

Alla Redko from the Java Documentation team shares her impressions of the two-day developer conference in Moscow.

All the JavaOne conferences start with the keynotes and this time wasn't an exception. The conference hall was crowded with the developers from different local and international IT companies. Grigori Labzovsky and Valery Lanovenko, the directors of St. Petersburg and Moscow Oracle sites, cordially greeted the participants and set the tone of the event. They passed the baton to Nandini Ramani who launched the JavaOne Russia conference and announced Oracle strategy and roadmap for the Java technologies. Technical keynote presentations led by Stephen Chin started with the Kiosk demonstration, continued by the overview of the Embedded technologies and an excellent success story of using Java ME 3.2, and concluded with the bright JavaFX 3D presentation given by Jim Weaver.

The Java Client Technologies track started shortly after the keynote with the presentation about the new FX Features in JDK 8 by Jim Weaver. He gave an overview of the new FX capabilities, demonstrated the Metronome demo, and explained how developers could benefit from using Lambda Expressions. Being a professional technology ambassador, Jim presented with passion and enthusiasm actively encouraging developers to join the FX community and participate in the OpenJFX project.

Sergey Troshin and Andrey Petushkov from St. Petersburg Development Center gave a presentation about the Java ME Embedded technologies. They talked about the diversity of mobile devices, introduced the benefits that Java has brought to the embedded world, and provided solutions for Java optimization for embedded environments. I was particularly pleased with the fact that Sergey and Andrey named the as the key source of information about Java ME technologies and products.

The second day of the conference started with Rapsberry Pi Nighthacking by Stephen Chin. Because the number of participants was relatively small, he turned the presentation into an informal discussion and live demonstration that were cordially received by the audience. Everyone in the hall was impressed with the demo run on Raspberry Pi and Chalkboard Electronics Touchscreen (tablet).

Jim Weaver continued presenting at the Java Client Technologies track and totally captivated participants with the presentation about powerful capabilities of JavaFX 3D. He showed how to create 3D primitive shapes, apply materials and textures, map images to the shapes. If you’re thinking about creating a cylindrical or cubic representation of the Earth, ask Jim!

Daniel Blaukopf, talked about Java SE on embedded devices. What impressed me the most was that his presentation had been developed totally in JavaFX (instead of traditional Microsoft Power Point) and run on a Raspberry Pi. Daniel gave an overview of the Java SE Embedded platform, demonstrated the supported devices and proof concepts, and showed a live JavaFX application running on a Raspberry Pi.

The last but not the least conference event was the hands-on-lab with the title “Playing to the Strength of JavaFX and HTML5” given by Jim Weaver. Because the hands-on-lab was based on the WebView tutorial that is part of JavaFX documentation, Jim invited me to assist. It has been a great and totally new experience helping about the lab and answering tricky but interesting questions.

The organizers of JavaOne Russia are going to publish the conference materials at the Content Catalog. Watch for updates at

— Alla Redko

Wednesday Apr 24, 2013

JavaOne Russia

JavaOne Russia is the biggest annual event for Java developers in Russia. This year it was held in the Crocus Expo International Exhibition Center, Moscow, 23 April. Presenters from Oracle focused mostly on new JDK 8 features, which you can learn about from early access sections of The Java Tutorials.

There was a large two-part session dedicated to Project Lambda, presented by Aleksey Shipilev and Sergey Kuksenko. The first part discussed what lambda expressions are in the context of Java and how they correlate to other language primitives, why lambdas are more than just syntactic sugar and how to effectively use them. The second part provided more information about the changes that lambda expressions brought along: default methods, bulk collection operations, and so on. The Lambda Expressions section in The Java Tutorials describes new features included in Project Lambda.

Some of the seemingly more subtle changes are related to annotations. These changes help to avoid many errors during development and were discussed at the Type Annotations in Java 8 session presented by Aleksandre Iline. The Type Annotations section (as well as other parts of the Annotations lesson) in The Java Tutorials describes this new functionality in detail.

Java SE 7 introduced the invokedynamic instruction, which greatly improved implementation of compilers and runtime systems for dynamically typed languages on the JVM. A session by Vladimir Ivanov was dedicated to the advantages of invokedynamic in the context of JSR 292: Supporting Dynamically Typed Languages on the Java Platform. For more information, you can read the Java Virtual Machine Support for Non-Java Languages guide that is a part of the JDK 7 Developer Guides library.

— Alexey Zhebel

Monday Apr 22, 2013

New documentation: Using Scene Builder with Java IDEs

A new JavaFX Scene Builder 1.1 developer preview documentation, Using Scene Builder with Java IDEs, has been published on It describes how you can use NetBeans IDE, Eclipse, and IntelliJ IDEA to easily create a JavaFX project and edit an FXML file with Scene Builder to build your application's UI.

You can download the latest Scene Builder 1.1 developer preview build from the JavaFX Scene Builder Developer Preview Download page. Use the Scene Builder 1.1 Developer Preview Release Notes for information about system requirements, installation information, and new or modified features.

Tuesday Apr 16, 2013

Documentation Updates with JDK 7u21 and JavaFX 2.2.21 Releases

The Java Development Kit 7 Update 21 (JDK 7u21) release, which includes JavaFX 2.2.21, is now live. You can download it from the Java SE Downloads page.

For information about this release, see the JDK 7u21 Release Notes, and the JavaFX 2.2.21 Release Notes.

With 7u21, it is recommended that all applications be signed, and it is possible to restrict signed applications to the security sandbox. Therefore, the use of "unsigned" to mean an application that ran in the security sandbox and "signed" to mean an application that ran with extended permissions, is no longer meaningful. The terminology in the Java Tutorials and the Java SE Guides has been changed to use "sandbox application" for applications that are restricted to the security sandbox, and "privileged application" for applications that have extended permissions.

In addition, the Java Tutorials contain the following changes:

  • With 7u21, users are prompted for permission to run applets and Java Web Start applications, called Rich Internet Applications or RIAs. The prompts contain information to help users make a more informed decision about whether to run an RIA. See User Acceptance of RIAs for more information.

  • Signed applets can be restricted to the security sandbox by using the permissions attribute for the <applet> or <object> element when the applet is invoked. See Deploying with the Applet Tag for more information.

  • Signing RIAs with a certificate from a trusted certificate authority is recommended, so Deploying an Applet and Deploying a Java Web Start Application include a step for signing the JAR file.

  • JavaScript code that calls code within an applet that has permission to run outside the security sandbox is treated as mixed code, which could cause additional warnings to be shown to the user. See Invoking Applet Methods From JavaScript Code for information.

The Java Rich Internet Applications Development and Deployment Guide, including the Deployment ebook (both MOBI and EPUB formats), contains the following changes:

  • The Security Level setting in the Java Control Panel can be used to automatically block some types of RIAs. The default setting of High permits all but local applets to run on a secure JRE. If the user is running an insecure JRE, only RIAs that are signed with a certificate issued by a recognized certificate authority are allowed to run. See Security for information.

  • Screen shots and other information about the Java Control Panel have been updated. See Java Control Panel for information.

The Java Remote Method Invocation (RMI) Guide contains information on the java.rmi.server.useCodebaseOnly property, which is now set to true by default. See RMI Enhancements for information.

Deploying JavaFX Applications contains changes related to the policy of signing applications and working with applications that are restricted to the security sandbox or have extended permissions.


JDK 8 Updates


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.


« April 2013 »