Sunday Sep 30, 2012

Talking JavaOne with Rock Star Charles Nutter

JavaOne Rock Stars, conceived in 2005, are the top rated speakers from the JavaOne Conference. They are awarded by their peers who through conference surveys recognize them for their outstanding sessions and speaking ability. Over the years many of the world’s leading Java developers have been so recognized.

We spoke with distinguished Rock Star, Charles Nutter.

A JRuby Update from Charles Nutter

Charles Nutter of Red Hat is well known as a lead developer of JRuby, a Ruby implementation of Java that is tightly integrated with Java to allow for the embedding of the interpreter into any Java application with full two-way access between the Java and the Ruby code.

Nutter is giving the following sessions at this year’s JavaOne:

  • CON7257 – “JVM Bytecode for Dummies (and the Rest of Us Too)”
  • CON7284 – “Implementing Ruby: The Long, Hard Road”
  • CON7263 – “JVM JIT for Dummies”
  • BOF6682 – “I’ve Got 99 Languages, but Java Ain’t One”
  • CON6575 – “Polyglot for Dummies” (Both with Thomas Enebo)


I asked Nutter, to give us the latest on JRuby. “JRuby seems to have hit a tipping point this past year,” he explained, “moving from ‘just another Ruby implementation’ to ‘the best Ruby implementation for X,’ where X may be performance, scaling, big data, stability, reliability, security, and a number of other features important for today's applications. We're currently wrapping up JRuby 1.7, which improves support for Ruby 1.9 APIs, solves a number of user issues and concurrency challenges, and utilizes invokedynamic to outperform all other Ruby implementations by a wide margin. JRuby just gets better and better.”

When asked what he thought about the rapid growth of alternative languages for the JVM, he replied, “I'm very intrigued by efforts to bring a high-performance JavaScript runtime to the JVM. There's really no reason the JVM couldn't be the fastest platform for running JavaScript with the right implementation, and I'm excited to see that happen.”

And what is Nutter working on currently? “Aside from JRuby 1.7 wrap-up,” he explained, “I'm helping the Hotspot developers investigate invokedynamic performance issues and test-driving their new invokedynamic code in Java 8. I'm also starting to explore ways to improve the general state of dynamic languages on the JVM using JRuby as a guide, and to help the JVM become a better platform for all kinds of languages.”

Originally published on blogs.oracle.com/javaone.


Monday Oct 17, 2011

JavaFX 2.0 Arrives and is Open Sourced

JavafxAmong the big news at JavaOne 2011 was the release of JavaFX 2.0 and announcement of its open source status. As Oracle’s Chief Architect, Client Java Platform Richard Bair observed, “We think this is going to be a really big deal in the industry.” JavaFX 2.0, touted as the next step in the evolution of Java as a rich client platform, is designed to provide a modern Java environment that shortens development time and eases the deployment of data driven-business and enterprise client applications.

 

Its key features include:

 

• Java APIs for JavaFX

 

• FXML -- an XML-based markup language for defining user interfaces

 

• Seamless integration into Swing applications

 

• High-performance hardware accelerated graphics

 

• Embedding of web content into JavaFX

 

• High-performance media engine

 

• Improved UI controls library

 

JavaFX 2.0 enables developers to leverage their existing Java skills and tools to develop JavaFX applications. It offers a clean separation of application UI and logic and simplifies code maintenance while integrating Web content and media seamlessly in Java applications. Developers can more easily create scalable, graphics-rich applications without performance penalties, build sophisticated user interfaces, extend existing Swing applications, and deploy applications in the browser, as desktop, or Web Start applications.

 

Java APIs for JavaFX include:

 

• End-to-end Java development

 

• Java language features—generics, annotations, multi-threading

 

• Reduced static footprint of runtime and applications

 

• Fluent API design for UI construction

 

• Development in alternative languages (e.g., JRuby, Groovy) with JavaFX

 

• Leverage sophisticated Java IDEs, debuggers and profilers

 

• Java APIs preserve convenient JavaFX Script features (e.g., bind)

 

Other features to take note of in JavaFX 2.0:

 

FXML

 

• Scriptable, XML-based markup language for defining user interfaces

 

• Convenient alternative to developing UI programmatically in Java

 

• Easy to learn and intuitive for developers familiar with web technologies or other markup based UI technologies

 

• Powerful scripting feature allows embedding scripts within a FXML file. Any JVM scripting language can be used, including JavaScript, Groovy, and Clojure, among others

 

New Graphics Pipeline for Modern GPUs

 

• New hardware accelerated graphics pipeline (Prism)

 

• New windowing toolkit (Glass) for Prism

 

• Java2D software pipeline for unsupported graphics hardware

 

• High-level support for making rich graphics simple: Shadows, Blurs, Reflections, Effects, 2D and 3D transforms

 

 

Rich Set of UI Controls

 

• Over 50 components for form-based UI, including charts, layout and form controls

 

• CSS3+ skinning and layout of UI controls

 

• Advanced UI controls, including table, tree view, rich text editor

 

 

Web Component

 

• Embed Web content in JavaFX applications

 

• HTML and JavaScript rendering based on Webkit

 

• DOM access and manipulation from Java

 

 

Browser Plug-in Refreshed for JavaFX 2.0

 

• Loading of JavaFX applets based on Prism

 

• Preloader for JavaFX applets for improved user experience

 

 

Powerful Properties Model

 

• New collections ObservableList, Sequence and ObservableMap

 

• New design and implementation of bean properties

 

• Low level binding API for high performance, low footprint bindings

 

• High level binding API for simple usage

 

 

Improved Animation Engine

 

• Optimized implementation of transitions

 

• Complete overhaul of API to simplify usage and in preparation of optimized and more stable implementation

 

 

Approximately 50 JavaFX 2.0 sessions can be found at JavaOne given by leading JavaFX movers and shakers. JavaFX is the next step in the evolution of Java as a rich client platform. Congratulations to all involved!  


Monday May 09, 2011

Hello Blu-ray 3D World!

A new article, rich in practical resources, by Oracle’s Michael Lagally and titled “Hello Blu-ray 3D World,” teaches developers how to write their own 3D Java “Hello World” application for a home theater using Blu-ray 3D concepts and the BD-J platform.

The article makes it clear how remarkably little is required to get started:

“First you need a Java platform connected to your TV. The good news is that you most likely already have a full-blown Java platform connected to your TV in the form of a Blu-ray player. The latest Blu-ray players are capable of displaying 3D content, and since the Blu-ray standard comes with Java 3D APIs, you are good to go.

Even if you don’t have a 3D TV or a Blu-ray player, you can still start developing and testing 3D programs. All you need, provided you own a Microsoft Windows computer, is free software and a pair of red/blue glasses (also called anaglyph glasses) that you can get for a few dollars.”


Read the entire article Hello Blu-ray 3D World.
About

Insider News from the Java Team at Oracle!

duke
javeone logo
Links


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
2
5
6
7
12
13
17
18
19
20
22
23
24
25
26
27
28
29
30
   
       
Today