1 copyright © 2013, oracle and/or its affiliates. all rights...
TRANSCRIPT
![Page 1: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/1.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1
![Page 2: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/2.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 2
JavaFX for Desktop and Embedded
Nicolas Lorain Java Client Product Management [email protected] @javafx4you
![Page 3: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/3.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3
The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
![Page 4: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/4.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4
Agenda
§ JavaFX Status (technical, adoption)
§ Open Source – OpenJFX
§ New features targeted for JDK 8
![Page 5: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/5.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5
JavaFX Today
Multi-Touch Mac Scene Builder
1080p
ComboBox
HTTP Live Streaming
Pagination
Native Deployment
h.264
Canvas
Writeable Image
ColorPicker i18n
Linux
OpenJFX
SWT integration
for Windows and Mac OS X
WebView
JavaScript-to-Java FXML
Web history PixelWriter
Windows Swing integration
Hardware Accelerated Graphics
UI Controls Charts
HTML5 Eclipse
GroovyFX
IntelliJ
ScalaFX
![Page 6: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/6.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6
JavaFX Adoption
§ December survey results (~900 participants) – Are you developing JavaFX applications?
§ It’s already released: 14% § It’s currently in development: 43%
§ Type of applications – Financial (e.g. trading platform), Transportation (e.g. train
management system, freight management system, Air traffic control), GIS, ERP, Tools & utilities, Health management, Big data, Network analysis
![Page 7: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/7.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7
Financial Trading Platform (Celer-Tech)
![Page 8: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/8.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8
Train Management System
![Page 9: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/9.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9
Freight Management System (Lynden)
![Page 10: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/10.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10
Power Grid Management
![Page 11: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/11.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11
Airtightness Compliance Tool (DooApp)
![Page 12: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/12.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12
Load Testing Tool (SmartBear)
![Page 13: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/13.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13
Retail Pharmacy Management
![Page 14: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/14.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14
Clinic Management System (Anahata)
![Page 15: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/15.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15
Video Management System
![Page 16: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/16.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16
OpenJFX
§ UI Controls § Scenegraph § Javafxpackager and launcher wrappers § JemmyFX § javafx-anim: animations, timelines § javafx-common: event delivery mechanism and other various core classes § javafx-sg-common: render tree interface § javafx-sg-prism: prism implementation of the render tree interface § javafx-geom: geometry and shapes implementation
Already open sourced
![Page 17: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/17.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 17
OpenJFX
§ pisces: java part of the Pisces rendering engine (used in software rendering pipeline) § javafx-logging: logging support § javafx-annotation-processor: build tool for generating buildersDecora - An effects
framework used by JavaFX § decora-compiler - Name of the project we are open sourcing § JSL - Name of the shader language in the decora-compiler project (ie. Java Shader
Language)
More Open Sourced
![Page 18: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/18.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18
OpenJFX
§ Graphics: Prism, Glass, Quantum § JavaFX prototypes for iOS and Android § Most other components by end of February § Some components may take longer (security audit)
Soon to be open sourced
![Page 19: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/19.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 19
Third party Projects
§ e(fx)clipse: plugins for Eclipse and for OSGi § DataFX: data source and cell factories for JavaFX UI controls § RedFX: remote asynchronous communication, messaging & synchronization § OpenDolphin: remoting solution
§ JFX Flow, eFX, JRebirth: application development frameworks § ScalaFX, GroovyFX: Scala and Groovy bindings for JavaFX § JFXtras: UI controls and extensions for JavaFX § Scenic View: scenegraph analyzer and editor § JavaFX Gradle plugin § Dex: visualization platform § And more…
http://www.oracle.com/technetwork/java/javafx/community/3rd-party-1844355.html
![Page 20: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/20.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 20
JavaFX Features – JDK 8 and beyond
§ Java Platform Completeness – Parity with Swing – Rich Text, node orientation, printing, SwingNode
§ RIA Platform Completeness – Public API for CSS structure, TreeTable, DatePicker, 3D, new default L&F
§ WebView Enhancements § Embedded support
– Support for QVGA screens, non mouse traversal input, support for devices without HW acceleration
![Page 21: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/21.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 21
Rich Text
§ Use Cases – text editor ● code editor ● mixed style Labels, buttons, cells ●
headings ● descriptions ● large textual content ● etc
§ Details – TextFlow, a new layout container – Text is just a node… so you can add effects, event handlers, and
animations – You can also use CSS, FXML
https://wikis.oracle.com/display/OpenJDK/Rich+Text
![Page 22: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/22.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 22
Example
![Page 23: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/23.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 23
Public API for CSS structure
§ CSS styling is one of the key features for JavaFX § CSS has been implemented exclusively in private API
(com.sun.javafx.css package) § Tools (e.g. Scene Builder) require
– CSS public API – JavaFX to programmatically understanding a CSS document – JavaFX to programmatically understand how CSS applies to
Nodes so it can customize the CSS/look from the tool.
https://wikis.oracle.com/display/OpenJDK/CSS+API+to+support+custom+UI+Controls
![Page 24: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/24.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 24
TreeTableView
§ Goal: reuse as many API, or API concepts, as possible from the TreeView and TableView controls API
https://wikis.oracle.com/display/OpenJDK/TreeTableView
![Page 25: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/25.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 25
DatePicker http://javafx-jira.kenai.com/browse/RT-27480
![Page 26: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/26.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 26
3D
§ Movable Camera, 3D Geometry, and 3D Attributes
https://wikis.oracle.com/display/OpenJDK/3D+Features
![Page 27: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/27.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 27
New Modern Theme: Modena http://javafx-jira.kenai.com/browse/RT-27582
![Page 28: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/28.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 28
WebView Enhancements
§ Nashorn JavaScript engine https://blogs.oracle.com/nashorn/entry/open_for_business
§ WebSocket http://javafx-jira.kenai.com/browse/RT-14947
§ Web Workers http://javafx-jira.kenai.com/browse/RT-9782
![Page 29: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/29.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 29
Embedded Support
§ JavaFX to be included in Oracle’s implementation of – Java SE 8 (x86, x64, ARM) – Java SE Embedded 8 (ARM)
§ Java SE Embedded 8 will include all JavaFX functionality, plus:
– Support for QVGA screens – Non mouse traversal input – Virtual keyboard – Support for devices without hardware acceleration
![Page 30: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/30.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 30
Embedded Samples
Raspberry Pi, Google maps, JFXtras gauges by @hansolo_
JavaOne Scheduler App (Panda ES development board)
![Page 31: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/31.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 31
Resources
§ JavaFX on OTN: javafx.com
§ Documentation: docs.oracle.com/javafx
§ Community page: javafxcommunity.com
§ Blogs: fxexperience.com, blogs.oracle.com/javafx
§ OpenJFX: http://openjdk.java.net/projects/openjfx/
![Page 32: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/32.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 32
Q&A
![Page 33: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/33.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 33
![Page 34: 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.static.hjug.org/present/iouc2013/2013-Java-Leaders... · 2013-09-15 · 19 Copyright © 2013, Oracle and/or](https://reader034.vdocuments.us/reader034/viewer/2022042204/5ea6789cc7d53f233238d77f/html5/thumbnails/34.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 34