PowerPoint-presentatie

Download Report

Transcript PowerPoint-presentatie

PLATFORM
A new platform that wants to be a new standard
JavaFX
27.03.2009
JavaFX team
Group in no specific order
•
•
•
•
•
•
Mattias Deparcq (Belgium)
Peter Krammer (Austria)
Ludovic Schelfaut (Belgium)
Rafal Jasiak (Poland)
Paulo Duarte (Portugal)
Filip West (Finland)
© artesis 2008 | 4
Main topics
1. Introduction
2. Platform
3. Software development
4. Overall evaluation
© artesis 2008 | 5
1. Introduction
• What is JavaFX?
• Rich Internet Applications
• JavaFX Script
• Brief History
© artesis 2008 | 6
1. Introduction
• javaFX Competitors
•
•
Flash Lite / Adobe
Silverlight / Microsoft
© artesis 2008 | 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
© artesis 2008 | 8
2. Platform
2.1 Hardware
© artesis 2008 | 9
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
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.”
© artesis 2008 | 10
2. Platform
2.3 Network Connectivity
© artesis 2008 | 11
2. Platform
2.4 Security
• Unsigned application
• Selfsigned application
• Signed application
• Unsigned application with signed JAR
© artesis 2008 | 12
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
© artesis 2008 | 13
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.
2.
3.
4.
Avoid unnecessary bindings
Keep the scenegraph as small as possible
Use simple shapes instead of images
Use small images instead of complex shapes
© artesis 2008 | 14
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
© artesis 2008 | 15
3. Software development
3.1 Development requirements
• only available for Mac and Windows Systems
• not for Linux or Solaris
• workaround for Linux
© artesis 2008 | 16
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
© artesis 2008 | 17
3. Software development
3.3 Programming Language(s)
• JavaFX Script
•
•
•
•
simple declarative language
easy-to-learn
unique data binding feature
fully object-oriented
© artesis 2008 | 18
4. Overall Evaluation
4.1 Advantages
• Common profile.
• Drag-to-Install.
• Integrating graphics
• Full integration into Webpages
• Simple and declarative Syntax
• Binding
© artesis 2008 | 19
4. Overall Evaluation
4.2 Limitations
• Slow
• No (official) Linux/Unix SDK
© artesis 2008 | 20
4. Overall Evaluation
4.3 Conclusion
• Great potential
•
•
•
•
•
•
•
One-stop-shop expressive content design and development platform for all screens
Broadest access to mobile device capabilities
Broadest market reach
Broadest access to mobile device capabilities
Lower implementation cost
Designer-developer workflow
Break free from the browser
© artesis 2008 | 21
4. Overall Evaluation
4.3 Conclusion
• Still some work
• Language is not yet stable.
• Competition
• ActionScript
• Silverlight
• Needs more developpers
© artesis 2008 | 22
Q&A
Any questions??
© artesis 2008 | 23