10. JavaFX Script
• Formerly known as F3
•A new Java-like scripting language
specifically for RIAs
• Think Silverlight, Flex, or AIR
11. “ The write once, run anywhere portability of
Java technology has helped make it the world's
most widely deployed application platform.
Now, Sun is introducing JavaFX Script, a highly
productive scripting language that enables
content developers to leverage the enormous
popularity of Java to create rich applications
and services for deployment on the widest
range of platforms - from mobile devices to set-
top boxes and Blu-ray Discs to desktops.
”
15. *Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
16. Product Browser Desktop Platforms
*Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
17. Product Browser Desktop Platforms
Ajax ✔ 3*
*Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
18. Product Browser Desktop Platforms
Ajax ✔ 3*
Adobe Flash ✔ 4
*Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
19. Product Browser Desktop Platforms
Ajax ✔ 3*
Adobe Flash ✔ 4
Adobe Flex ✔ 4
*Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
20. Product Browser Desktop Platforms
Ajax ✔ 3*
Adobe Flash ✔ 4
Adobe Flex ✔ 4
Adobe AIR ✔ 2*
*Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
21. Product Browser Desktop Platforms
Ajax ✔ 3*
Adobe Flash ✔ 4
Adobe Flex ✔ 4
Adobe AIR ✔ 2*
Microsoft Silverlight ✔ 2
*Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
22. Product Browser Desktop Platforms
Ajax ✔ 3*
Adobe Flash ✔ 4
Adobe Flex ✔ 4
Adobe AIR ✔ 2*
Microsoft Silverlight ✔ 2
Sun JavaFX Script ✔ ✔ 4+
*Ajax has behavior issues on browsers other than Firefox, Safari, & Internet Explorer
*AIR to support Linux at a later date
37. Consumer JRE Micro Bundles
•Back-to-Basics JRE
•Starts with hello world support
•Downloads additional parts as needed
Source: Java SE 6 Update N Early Access Program & Jim Weaver’s JavaFX Blog
38. Consumer JRE Performance
•Quick Starter for cold starts
•Prefetches portions of JRE into memory
•Graphics rendering hardware acceleration
Source: Java SE 6 Update N Early Access Program
42. Interpreted
‣ Starting point for language
‣ Proof of Concept only
‣ In process of deprecation
‣ But has current IDE Support
43. Compiled
‣ Official language tool, javafxc
‣ Built on top of javac
‣ Open Source
‣ Work In Progress, but very usable
44. Bind Operator
‣ Automatic binding of form element to
data model
‣ Core JDK has no equivalent
‣ Libraries such as Swinglabs only
partially accomplish this for Swing
‣ Built on Beans Binding JSR 295 library
58. Java3D’s Successor
“
Specifically, we are working on a
new 3D scene graph, as part of the
JavaFX player, that will complement
the 2D Scenario scene graph. Its
initial focus will be 3D effects,
casual games, and simple 3D
”
viewing applications...
Source: http://forums.java.net/jive/thread.jspa?threadID=36022&tstart=0
61. The Perfect Blend
•Leverages all existing Java libraries
•Retro-capable back to JRE 1.5
•Browser, Desktop, and Phone
•Groovy, JRuby, Scala, Jaskell, Jython
73. “
Sun’s JavaFX Tools are
turning the workflow sideways
”
James Gosling
Source: http://www.regdeveloper.co.uk/2008/01/24/javafx_tools_adobe/
74. “ Our architecture is more like the coder
does this part and the artist does this
part, and then the artist can do the
plugging in [of the design] themselves.
They can update the artwork and the
[developer] guy can update the code,
and they are talking to the tool together.
”
It's not conditional on the other.
James Gosling
Source: http://www.regdeveloper.co.uk/2008/01/24/javafx_tools_adobe/
75. Sun Microsystems is working on interoperability between
design tools from Adobe Systems and its upcoming JavaFX
tools for application developers building rich application
interfaces and rich-internet applications (RIAs).
James Gosling, Sun vice president and fellow, told Register
Developer that Sun is working to ensure interoperability -
rather than provide its own design tools.
“
We are putting a lot of effort into interoperability with the
Adobe tools - a lot of the Adobe tools are wired into the
neurons of the artists of the world. We are not trying to be a
”
completely isolated island that has all the tools for everybody.
James Gosling
Source: http://www.regdeveloper.co.uk/2008/01/24/javafx_tools_adobe/
81. Resources
•JavaFX Language Reference, Nightly Build
http://openjfx.java.sun.com/current-build/doc/JavaFX-Language.html
•Project SceneGraph
https://scenegraph.dev.java.net/
•Comparing Flex and Ajax Dev Models
http://www.adobe.com/newsletters/edge/february2008/articles/article4/
•Swinging in Groovy
http://groovy.dzone.com/tips/swinging-groovy-fun
82. Quotes
•Rich Green @ Java One San Fran
•“Meant for building Rich Internet
Applications (RIAs)”
•“For content professionals”
•“All based on Swing and Java 2D”
83. Quotes
• Danny Coward, JAZOON 07, Zurich
• Visual Tools, Visual Developers
• Only occasionally dropping down to script level coding
• Meant for animated, simple, client apps that are highly
branded
• Not used much by technical java developers