5. 1. Introduction
• Current release
• JavaFX 1.3.1
• This version is updated version of JavaFX released on 21 Aug 2010 .
Features:
• Quick startup time of JavaFX application.
• Custom progress bar for application startup
• Future.
• JavaFX 2.0
• A notable change in this release is that the JavaFX scripting language
will be discontinued and its functionality moved to regular Java APIs.
7. 1. Introduction
• New kind of developers
Building a simple media player application in Java takes 100
lines of code but JavaFX Script can do it in 20 or 30.
Eric Klein, Sun's vice president of Java marketing
10. 2. Platform
2.2 Operating System(s)
• JavaFX applications will run on any desktop and browser that runs the
Java Runtime Environment and easily integrates with Java ME, opening
up the door to billions of mobile phones and other connected devices!
• Independent application platform, built on Java
• Android (O.S use in mobile LG, Motorola)
• Windows Mobile
• proprietary real-time operating systems
“Java FX is an expressive rich client platform for creating and delivering
rich Internet experiences across all the screens of your life.”
12. 2. Platform
2.4 Security
• Unsigned application
• Selfsigned application
• Signed application
• Unsigned application with signed JAR
13. 2. Platform
2.5 Performance
• The (unoffical) bubblemark scores are as following:
• JavaFx/Vectors: 20 fps, 50% CPU
• Flash/Flex: 21fps, 83% CPU
• Silverlight/CLR: 40fps, 82% CPU
• Flash/cacheAsBitmap: 64fps, 58% CPU
• Java/Swing (optimized): 163fps, 50% CPU
• Java/PulpCore: 200fps, 50% CPU
14. 2. Platform
2.5 Performance
• The performance of javaFX is rather slow at the moment when
compared to its competitors, but in speed-critical portions off the
program ordinary java code can be used to speed up the program.
Here are some general tips to speed up your javafx code.
1. Avoid unnecessary bindings
2. Keep the scenegraph as small as possible
3. Use simple shapes instead of images
4. Use small images instead of complex shapes
15. 2. Platform
2.6 Future possibilities
• Sun has reveled their roadmap as following:
̵ 12/04/2008 - JavaFX SDK 1.0 w/ beta Mobile
̵ 02/12/2009- JavaFX w/ final Mobile
̵ JavaOne 09 - JavaFX Next bèta
̵ JavaOne 09 - Java 7 bèta
̵ Before 2010 - final Java FX Next & Java7
• One can only hope that more devices will be supported in the future
16. 3. Software development
3.1 Development requirements
• only available for Mac and Windows Systems
• not for Linux or Solaris
• workaround for Linux
17. 3. Software development
3.2 IDE and Tools
• Netbeans with the JavaFX Plugin (official)
• Eclipse with an JavaFX Plugin (community made)
• JavaFX Pad
• Plugins for Adobe Photoshop and Adobe Illustrator
• Tools to convert SVG graphics into JavaFX Script code
18. 3. Software development
3.3 Programming Language(s)
• JavaFX Script
• simple declarative language
• easy-to-learn
• unique data binding feature
• fully object-oriented
20. 4. Overall Evaluation
4.3 Conclusion
• Still some work
• Language is not yet stable.
• Competition
• ActionScript
• Silverlight
• Needs more developpers