Top Banner
Tarun Soni
21
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Javafx

Tarun Soni

Page 2: Javafx

Main topics

1. Introduction

2. Platform

3. Software development

4. Overall evaluation

Page 3: Javafx

1. Introduction

• What is JavaFX?• Rich Internet Applications

• A new platform that wants to be a new standard• JavaFX Script

• Brief History

3

Page 4: Javafx

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

Page 5: Javafx

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.

Page 6: Javafx

1. Introduction

• javaFX Competitors• Flash Lite / Adobe

• Silverlight / Microsoft

Page 7: Javafx

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

Page 8: Javafx

2. Platform

2.1 Hardware

Page 9: Javafx

2

o Ajax Platform Architecture

. Platform

Page 10: Javafx

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.”

Page 11: Javafx

2. Platform

2.3 Network Connectivity

Page 12: Javafx

2. Platform

2.4 Security• Unsigned application

• Selfsigned application

• Signed application

• Unsigned application with signed JAR

Page 13: Javafx

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

Page 14: Javafx

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

Page 15: Javafx

2. Platform

2.6 Future possibilities

• Sun has reveled their roadmap as following: G 12/04/2008 - JavaFX SDK 1.0 w/ beta Mobile

G 02/12/2009- JavaFX w/ final Mobile

G JavaOne 09 - JavaFX Next bèta

G JavaOne 09 - Java 7 bèta

G Before 2010 - final Java FX Next & Java7

•  One can only hope that more devices will be supported in the future

Page 16: Javafx

3. Software development

3.1 Development requirements  • only available for Mac and Windows Systems

• not for Linux or Solaris

• workaround for Linux

Page 17: Javafx

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

Page 18: Javafx

3. Software development

3.3 Programming Language(s)

• JavaFX Script• simple declarative language

• easy-to-learn

• unique data binding feature

• fully object-oriented

Page 19: Javafx

4. Overall Evaluation

4.2 Limitations  • Slow

• No (official) Linux/Unix SDK

Page 20: Javafx

4. Overall Evaluation

4.3 Conclusion

• Still some work• Language is not yet stable.

• Competition• ActionScript• Silverlight

• Needs more developpers

 

Page 21: Javafx

THANKYOU