DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
11 Monitoring and Observability Tools for 2023
Learn more
  1. DZone
  2. Coding
  3. Java
  4. JavaOne 2010 Alternative JVM Languages including JavaFX

JavaOne 2010 Alternative JVM Languages including JavaFX

Peter Pilgrim user avatar by
Peter Pilgrim
CORE ·
Sep. 22, 10 · Interview
Like (0)
Save
Tweet
Share
10.12K Views

Join the DZone community and get the full member experience.

Join For Free

You probably are already aware that JavaFX Script is no longer to be developed, by Oracle Corporation, beyond JavaFX 1.3.1 release. This is a cost-benefit decision and purely pragmatic business decision. JavaFX is now re-branded to Java API, in order it is JavaFX with Java API. I believe in the long term that Oracle has made a very wise decision. They are looking at the long-tail of computer development, especially in the consumer electronics and portable device space. JavaFX is a client side technology, so they are going aggressively to the TTM (Time-to-market) launch and also answering in one fell swoop two questions that have always been difficult to respond regarding JavaFX. Personal disclosure: yours truly has been aware of Oracle's decision to change JavaFX 2.0 for a few weeks now.

Two Fundamental Questions Answered Today

How can I integrate JavaFX with existing Swing applications? You have an answer now. JavaFX will be ported to Java. All of the current existing features of the JavaFX runtime and language, version 1.3, the scene graph, the ability to bind between object properties will have a Java API. You will be able to create a FX Stage in Java and add scene-graph components and layout container to it.

How can I use JavaFX in other alternative JVM languages? You also have an answer now. Oracle's long tail solution, and this is evidence of the business heads make decision about the existing JavaFX product, is to reinforce the mother language, which is Java. By providing a Java API, a library and framework, which allows ordinary Java developers to invoke JavaFX Script current features, then therefore these features are immediately available to other alternative JVM languages: JRuby, Clojure, Groovy and, best of all, Scala. I am incredibly pumped up that I could get Scala and FX features working together extremely soon.


New Business Model

In summary, paraphrasing Oracle's official slides: Java is the next primary language in JavaFX 2.0. Binding and sequences will be available as Java API
Oracle is emphasising the ability to embrace all JVM languages to use FX. Unfortunately the JavaFX Script language wont be updated to FX 2.0 library,  however we have asked for it to be handed over open source completely. Existing JavaFX 1.3 programs will continue to run on the next runtime. [However your mileage may vary after the furthers updates on the JavaFX 2.0 product line. Stephen Chin has an important announcement for JFXtras concerning JavaFX Script language].


During Larry Ellison opening keynote on Sunday, I went to the Hilton Hotel to see the live stream of the event. I had to a chance to meet with Brian Goetz whilst the keynote video wall was playing. I spoke to him, he talked about JavaFX as Java API library framework, the reason for this decision was because "lack of resources and we needed a considerable amount of time to build adequate tooling". Brian said that, "Look at the way Microsoft delivers it new products, for example SilverLight, Expression Blend or Visual C#. Every new product that Microsoft produces come with a tool [tooling], that is the Microsoft way and we [Oracle] have to learn how from that [business] model."


The Future of JavaFX

Oracle intends to evolve JavaFX 2.0 from the current FX 1.X product line. As for JavaFX Script the scenegraph, expression language and event model are mostly feature complete. So they aim to provide Java analogues of the current programming model, maybe they might consider the builder object idiom to cope with JavaFX Script declarative syntax will be missing. The current implementation of JavaFX stylesheets and styling of components using HTML / CSS will be ported to new JavaFX 2.0 for Java API

Oracle realises it need extremely good Java API Designer. They intend to release early, provide beta releases to key partner. They also intend to create build blueprints, samples, and demos in parallel. They clearly want to show JavaFX is intended for the enterprise and at this conference, at least, talked a very good game, of supporting the mainstream developers and engineers get into JavaFX. Make no mistake, this is the change the user desktop community have been looking for, JavaFX 2.0 effectively is the new way to develop modern user interface application.

There is one question that I did not see at the keynote, which absolutely fantastic for demonstrating the PRISM graphics pipeline. What has happened to the designer tool? There were slides on the developer and designer work flow shown at the event, however the code of the authoring tool, which I last saw was still using JavaFX Script. Here is the verbatim slides information, which dictate into Notepad++.


Developer oriented workflow

    RAD tool, SVG import, UI CSS
    
Designer "  "

    Designer produces media assets
    Developer produce modules (e.g. access web services)
    Designer  aggregates assets, graphics images, code modules & scripts using JavaScript or another
    dynamic language


Web Integration with JavaFX

Embed HTML in JavaFX

WebBiew node in the scene graph is embedded browser
Allow all Text nodes to have HTML content
Seamless DOM integration

Embed JavaFX in HTML

using traditional plugin technology
Seamless DOM integration
Adapt to use HTML 5, local storage, browser history, etc


Adopt more web standards

Improve CSS and add accessibility for HTML


Graphics

2D and 3D scene graph
    DirectX 9 on Windows XP, Vista
    DirectX 11 on Windows 7
    OpenGL on Mac, Linux, Embedded
    Software (Java2D) when necessary
    
Hardware accelerated pipeline
Embed in Swing
    c.f Java3D, JOGL
    Allows Swing applications to add JavaFX scenes, charts, media and controls
High Definition Media



Controls

Simple, Rich, Useful
Highly customisable via CSS
Visually appealing
Complete working out of the box
Data binding and tooling


Performance Small & Fast
Measure, measure, measure


AudioBoo Related Information

Please go and visit my specific website http://audioboo.fm/peter_pilgrim


Java Champions and Networking Opportunities


Here are some photographs around the time we were gathered to me up with Apolo Anton Ohno, the celebrated American Olympic speed ice skater. We all had to a chance to see the amazing set up Audio/Visual equipment to goes into making a keynote presentation for JavaOne, Oracle Open World.


Left is Fabrizio Gianneschi, Winner of the Duke Award 2006, Right is Yakov Fain




Left is Stephan Janssen, CEO of the Belgium User Group and of course DEVOXX, Right is JUGGY, the parrot finch,the official and unofficial mascot of all Java User Group communities worldwide, managed by Bruno Sousa, who comes from Brazil

Dr. Heinz M. Kabutz (left), originally from South Africa, lives in the lovely mediterranen Island of Crete. Dr. Heinz is at JavaOne 2010, his first conference, unbelievably for the very first time ever. Middle is Dr. Fabiane Bizinella Nardo, winner of the Duke award for Brazilian Healthcare Information System, and Right is Stephen Colebourne of Closures for Java, FCM fame and also JodaTime.

 


This is Peter Pilgrim, who in San Francisco for the JavaOne 2010 conference. Out

 

From http://www.jroller.com/peter_pilgrim/entry/javaone_2010_alternative_jvm_languages

Java (programming language) JavaFX Java virtual machine

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Multi-Cloud Integration
  • When to Choose Redpanda Instead of Apache Kafka
  • Create Spider Chart With ReactJS
  • What Is API-First?

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: