Your SlideShare is downloading. ×
Javafx
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Javafx

1,920
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,920
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
71
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Tarun Soni
  • 2. Main topics 1. Introduction 2. Platform 3. Software development 4. Overall evaluation
  • 3. 1. Introduction • What is JavaFX? • Rich Internet Applications • A new platform that wants to be a new standard • JavaFX Script • Brief History 3
  • 4. 1. Introduction • 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. • JavaFX 1.3 • JavaFX 1.3 was released on April 22, 2010. This release introduces • Performance improvements © artesis 2008 | 4
  • 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.
  • 6. 1. Introduction • javaFX Competitors • Flash Lite / Adobe • Silverlight / Microsoft
  • 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
  • 8. 2. Platform 2.1 Hardware
  • 9. 2 o Ajax Platform Architecture . Platform
  • 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.”
  • 11. 2. Platform 2.3 Network Connectivity
  • 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
  • 19. 4. Overall Evaluation 4.2 Limitations • Slow • No (official) Linux/Unix SDK
  • 20. 4. Overall Evaluation 4.3 Conclusion • Still some work • Language is not yet stable. • Competition • ActionScript • Silverlight • Needs more developpers
  • 21. THANKYOU

×