JavaFX
It has been suggested that [[::JavaFX Script|JavaFX Script]] be merged into this article or section. (Discuss) |
JavaFX is a software platform for creating and delivering rich Internet applications that can run across a wide variety of connected devices. The current release (JavaFX 1.2, June 2009) enables building applications for desktop, browser and mobile phones. TV set-top boxes, gaming consoles, Blu-ray players and other platforms are planned.
JavaFX builds on Java technology. To build JavaFX apps developers use a statically typed, declarative language called JavaFX Script; Java code can be seamlessly integrated into JavaFX programs. JavaFX is compiled to Java bytecode, so JavaFX applications run on any desktop and browser that runs the Java Runtime Environment (JRE) and on top of mobile phones running Java ME.
On desktop, the current release supports Windows XP, Windows Vista and Mac OS operating systems. Beginning with JavaFX 1.2 Sun has released beta-releases for Linux and OpenSolaris.[1].
On mobile, JavaFX is capable of running on multiple mobile operating systems, including Symbian OS, Windows Mobile, and proprietary real-time operating systems.
Current release of JavaFX platform includes the following components:
- The JavaFX SDK: JavaFX compiler and runtime tools. Graphics, media web services, and rich text libraries
- NetBeans IDE for JavaFX: NetBeans with drag-and-drop palette to add objects with transformations, effects and animations plus set of samples and best practices. For Eclipse users there is a community-supported plugin hosted on Project Kenai
- Tools and plugins for creative tools (a.k.a. Production Suite): Plugins for Adobe Photoshop and Adobe Illustrator that can export graphics assets to JavaFX Script code, tools to convert SVG graphics into JavaFX Script code and preview assets converted to JavaFX from other tools
Commentators have speculated JavaFX to compete on the desktop with Adobe Flash Player, Adobe AIR, OpenLaszlo, and Microsoft Silverlight.
Technical highlights
Common profile. JavaFX is based on the concept of a “Common profile” that is intended to span across all devices supported by JavaFX. This approach makes it possible for developers to use a common programming model while building an application targeted for both desktop and mobile devices and to share much of the code, graphics assets and content between desktop and mobile versions. To address the need for tuning applications for the needs of specific class of devices, the JavaFX 1.1 platform includes APIs that are desktop or mobile-specific. For example JavaFX Desktop profile includes Swing and advanced visual effects.
Drag-to-Install. From the point of view of the end user “Drag-to-Install” allows them to drag a JavaFX widget or application residing in a website within the browser window and drop it onto their desktop. The application will not lose its state or context even after the browser is closed. An application can also be re-launched by clicking on a shortcut that gets automatically created on the user's desktop. This behavior is enabled out-of-the-box by the Java applet mechanism and is leveraged by JavaFX from the underlying Java layer. Sun touts “Drag-to-Install” as opening up of a new distribution model and allowing developers to “break away from the browser”.
Integrating graphics created with third-party tools. JavaFX includes a set of plug-ins for Adobe Photoshop and Illustrator that enable advanced graphics to be integrated directly into JavaFX applications. The plug-ins generate JavaFX Script code that preserves layers and structure of the graphics. Developers can then easily add animation or effects to the static graphics imported. There is also an SVG graphics converter tool (a.k.a. Media Factory) that allows for importing graphics and previewing assets after the conversion to JavaFX format.
History
JavaFX Script, the scripting component of JavaFX, began life as a project by Chris Oliver called F3.[2]
Sun Microsystems first announced JavaFX at the JavaOne Worldwide Java Developer conference on May 2007.
In May 2008 Sun Microsystems announced plans to deliver JavaFX for the browser and desktop by the third quarter of 2008, and JavaFX for mobile devices in the second quarter of 2009. Sun also announced a multi-year agreement with On2 Technologies to bring comprehensive video capabilities to the JavaFX product family using the company's TrueMotion Video codec.
Since end of July 2008, developers could download a preview of the JavaFX SDK for Windows and Macintosh, as well as the JavaFX plugin for NetBeans 6.1. On December 4, 2008 Sun released JavaFX 1.0.
JavaFX 1.1
JavaFX for mobile development was finally made available as part of the JavaFX 1.1 release announced officially on February 12 2009.
JavaFX 1.2
JavaFX 1.2 was released at JavaOne on June 2, 2009. This release introduced [3]:
- Beta support for Linux and Solaris,
- Built-in controls and layouts,
- Skinnable CSS controls,
- Built-in chart widgets,
- JavaFX I/O management, masking differences between desktop and mobile devices,
- Speed improvements.
License
There are currently various licenses for the modules that compose the JavaFX runtime:
- The core JavaFX runtime is still proprietary software and its code has not yet been released to the public,[4]
- The JavaFX compiler[5] and an older version of the 2D Scene graph[6] are released under a GPL v2 license,
- The NetBeans plugin for JavaFX is dual licensed under GPL v2 and CDDL.[4]
During development, Sun explained they will roll out their strategy for the JavaFX licensing model for JavaFX first release[7]. After the release, Jeet Kaul, Sun's Vice president for Client Software, explained that they will soon publish a specification for JavaFX and its associated file formats, and will continue to open source the JavaFX runtime, and decouple this core from the proprietary parts licensed by external parties[8].
See also
- JavaFX Script
- JavaFX Mobile
- Lobo Web Browser, with JavaFX support
- Curl RIA platform
- UltraLightClient, a Java based approach for Rich Internet Applications
References
- ↑ "Software and System Requirements for JavaFX Technology". http://java.sun.com/javafx/1/reference/system-requirements-1-2.html#javafxsdk.
- ↑ Project name F3
- ↑ Marinacci, Joshua (2009-06-09). "Top 5 Most Important Features in JavaFX 1.2". http://weblogs.java.net/blog/joshy/archive/2009/06/top_5_most_impo.html. Retrieved 2009-06-12.
- ↑ 4.0 4.1 "JavaFX Downloads". https://openjfx.dev.java.net/downloads.html. Retrieved 2008-06-07.
- ↑ "OpenJFX Compiler Project". https://openjfx-compiler.dev.java.net/. Retrieved 2008-06-07.
- ↑ "Project Scene Graph home". https://scenegraph.dev.java.net/. Retrieved 2008-06-07.
- ↑ "Will JavaFX technology be released in open source?". http://java.sun.com/javafx/faqs.jsp#2. Retrieved 2008-06-07. "Sun will continue to engage the OpenJFX community as we release JavaFX products. This fall we will be rolling out our open source strategy for JavaFX technology concurrent with the release of version 1 of JavaFX Desktop"
- ↑ Kaul, Jeet (2008-12-16). "JavaFX - the road ahead". http://blogs.sun.com/meetjeet/entry/javafx_the_road_ahead. Retrieved 2009-01-03. "Sun is committed to open standards and open source, and specifications are coming soon(...)There are some dependencies on licensed code that cannot be open sourced. We are working towards decoupling the dependencies so that the non-proprietary portions can be open sourced. Currently the JavaFX compiler, Netbeans JavaFX plugin and Eclipse JavaFX plugin are already being developed in the open source. The scene graph is out in the open. We will put the core runtime out in the open over time."
Bibliography
- Weaver, James L.; Gao, Weiqi; Chin, Stephen; Iverson, Dean (January 11, 2010), Pro JavaFX 2 Platform: A Definitive Guide to Script, Desktop, and Mobile RIA with Java Technology, Apress, pp. 500, ISBN 1430268727, http://www.apress.com/book/view/1430268727
- Jordan, Lucas (December 17, 2009), JavaFX Special Effects: Taking Java™ RIA to the Extreme with Animation, Multimedia, and Game Elements, Apress, pp. 300, ISBN 1430226234, http://www.apress.com/book/view/9781430226239
- Topley, Kim (October 12, 2009), JavaFX Developer's Guide, Addison-Wesley Professional, pp. 640, ISBN 0321601653, http://www.informit.com/store/product.aspx?isbn=0321648978
- Weaver, James L.; Gao, Weiqi; Chin, Stephen; Iverson, Dean (June 22, 2009), Pro JavaFX Platform: Script, Desktop and Mobile RIA with Java Technology, Apress, pp. 500, ISBN 1430218754, http://www.apress.com/book/view/1430218754
- Morris, Simon (June 15, 2009), JavaFX in Action, Manning, pp. 375, ISBN 1933988991, http://www.manning.com/morris
- Clarke, Jim; Connors, Jim; J. Bruno, Eric (June 15, 2009), JavaFX: Developing Rich Internet Applications, Prentice Hall, pp. 384, ISBN 013701287X, http://www.informit.com/store/product.aspx?isbn=0137013531
- Anderson, Gail; Anderson, Paul (June 15, 2009), Essential JavaFX, Prentice Hall, pp. 360, ISBN 0137042795, http://www.informit.com/store/product.aspx?isbn=0137042795
- Weaver, James L. (May 4, 2009), JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications, Apress, pp. 200, ISBN 1590599454, http://www.apress.com/book/view/1590599454
External links
- javafx.com Official JavaFX website
- Official JavaFX blog website
- java.sun.com website
- Sun.com - JavaFX
- OpenJFX website
- Sun.com - Learning JavaFX Script: An Introduction for Java Programmers
- Crash Course in Next-Gen RIA: AIR, Silverlight, and JavaFX
- Ellison at JavaOne: Myths About JavaFX, Android, and J2ME
- James Weaver's JavaFX blog
- A JavaOne 2009 talk about JavaFx + Groovy
- fxexperience.com - A blog on JavaFX with insights from core engineers on the JavaFX team and weekly news posts
- javaontop.com - JavaFx code examples
Template:Java (Sun) Template:Sun Microsystems
|
cs:JavaFX de:JavaFX es:JavaFX fr:JavaFX it:JavaFX he:JavaFX ja:JavaFX pl:JavaFX pt:JavaFX ru:JavaFX sk:JavaFX Script uk:JavaFX zh:JavaFX
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...