PLATFORM A new platform that wants to be

  • Slides: 23
Download presentation

PLATFORM A new platform that wants to be a new standard Java. FX 27.

PLATFORM A new platform that wants to be a new standard Java. FX 27. 03. 2009

Java. FX team Group in no specific order • • • Mattias Deparcq (Belgium)

Java. FX team Group in no specific order • • • Mattias Deparcq (Belgium) Peter Krammer (Austria) Ludovic Schelfaut (Belgium) Rafal Jasiak (Poland) Paulo Duarte (Portugal) Filip West (Finland) Intensive Programme © artesis 2008 | 4

Main topics 1. Introduction 2. Platform 3. Software development 4. Overall evaluation Intensive Programme

Main topics 1. Introduction 2. Platform 3. Software development 4. Overall evaluation Intensive Programme © artesis 2008 | 5

1. Introduction • What is Java. FX? • Rich Internet Applications • Java. FX

1. Introduction • What is Java. FX? • Rich Internet Applications • Java. FX Script • Brief History Intensive Programme © artesis 2008 | 6

1. Introduction • java. FX Competitors • • Flash Lite / Adobe Silverlight /

1. Introduction • java. FX Competitors • • Flash Lite / Adobe Silverlight / Microsoft © artesis 2008 | 7

1. Introduction • New kind of developers Building a simple media player application in

1. Introduction • New kind of developers Building a simple media player application in Java takes 100 lines of code but Java. FX 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 Intensive Programme © artesis 2008 | 9

2. Platform 2. 1 Hardware Intensive Programme © artesis 2008 | 9

2. Platform 2. 2 Operating System(s) • • Java. FX applications will run on

2. Platform 2. 2 Operating System(s) • • Java. FX 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. ” Intensive Programme © artesis 2008 | 10

2. Platform 2. 3 Network Connectivity Intensive Programme © artesis 2008 | 11

2. Platform 2. 3 Network Connectivity Intensive Programme © artesis 2008 | 11

2. Platform 2. 4 Security • • Unsigned application Selfsigned application Signed application Unsigned

2. Platform 2. 4 Security • • Unsigned application Selfsigned application Signed application Unsigned application with signed JAR Intensive Programme © artesis 2008 | 12

2. Platform 2. 5 Performance • The (unoffical) bubblemark scores are as following: •

2. Platform 2. 5 Performance • The (unoffical) bubblemark scores are as following: • • • Java. Fx/Vectors: 20 fps, 50% CPU Flash/Flex: 21 fps, 83% CPU Silverlight/CLR: 40 fps, 82% CPU Flash/cache. As. Bitmap: 64 fps, 58% CPU Java/Swing (optimized): 163 fps, 50% CPU Java/Pulp. Core: 200 fps, 50% CPU Intensive Programme © artesis 2008 | 13

2. Platform 2. 5 Performance • The performance of java. FX is rather slow

2. Platform 2. 5 Performance • The performance of java. FX 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 Intensive Programme © artesis 2008 | 14

2. Platform 2. 6 Future possibilities • Sun has reveled their roadmap as following:

2. Platform 2. 6 Future possibilities • Sun has reveled their roadmap as following: 12/04/2008 - Java. FX SDK 1. 0 w/ beta Mobile 02/12/2009 - Java. FX w/ final Mobile Java. One 09 - Java. FX Next bèta Java. One 09 - Java 7 bèta Before 2010 - final Java FX Next & Java 7 • One can only hope that more devices will be supported in the future Intensive Programme © artesis 2008 | 15

3. Software development 3. 1 Development requirements • only available for Mac and Windows

3. Software development 3. 1 Development requirements • only available for Mac and Windows Systems • not for Linux or Solaris • workaround for Linux Intensive Programme © artesis 2008 | 16

3. Software development 3. 2 IDE and Tools • • • Netbeans with the

3. Software development 3. 2 IDE and Tools • • • Netbeans with the Java. FX Plugin (official) Eclipse with an Java. FX Plugin (community made) Java. FX Pad Plugins for Adobe Photoshop and Adobe Illustrator Tools to convert SVG graphics into Java. FX Script code Intensive Programme © artesis 2008 | 17

3. Software development 3. 3 Programming Language(s) • Java. FX Script • • simple

3. Software development 3. 3 Programming Language(s) • Java. FX Script • • simple declarative language easy-to-learn unique data binding feature fully object-oriented Intensive Programme © artesis 2008 | 18

4. Overall Evaluation 4. 1 Advantages • • • Common profile. Drag-to-Install. Integrating graphics

4. Overall Evaluation 4. 1 Advantages • • • Common profile. Drag-to-Install. Integrating graphics Full integration into Webpages Simple and declarative Syntax Binding Intensive Programme © artesis 2008 | 19

4. Overall Evaluation 4. 2 Limitations • Slow • No (official) Linux/Unix SDK Intensive

4. Overall Evaluation 4. 2 Limitations • Slow • No (official) Linux/Unix SDK Intensive Programme © artesis 2008 | 20

4. Overall Evaluation 4. 3 Conclusion • Great potential • • One-stop-shop expressive content

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 Intensive Programme © artesis 2008 | 21

4. Overall Evaluation 4. 3 Conclusion • Still some work • Language is not

4. Overall Evaluation 4. 3 Conclusion • Still some work • Language is not yet stable. • Competition • Action. Script • Silverlight • Needs more developpers Intensive Programme © artesis 2008 | 22

Q & A Any questions? ? Intensive Programme © artesis 2008 | 23

Q & A Any questions? ? Intensive Programme © artesis 2008 | 23