JavaFX vs AJAX vs Flex

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    JavaFX vs AJAX vs Flex - Presentation Transcript

    1. JavaFX vs. Ajax (and vs. Flex) Ben Galbraith (Mozilla) and Don Almaer (Ajaxian, Inc.) TS-5587 JavaOne 2009 Debriefing Session Sean Chung
      • JavaFX Scripting Language
        • A scripting language for interactive graphics, media, and animation.
      Slide 1 1
    2. Slide 2
      • JavaFX Scripting Language
        • Object-oriented (of course)
        • Expression language
        • Declarative and Procedural
        • Integrates with Java (can import Java classes)
        • Compiles to byte code; runs on JVM
        • Incorporates the concept of time
        • Data binding
        • Mixin classes like Java interfaces
      2
    3. Slide 3
      • Ajax vs. JavaFX - on Performance
        • Java is way faster than JavaScript
        • But JavaScript is getting faster (V8 – Google Chrome JavaScript Virtual Machine)
        • Good enough.
      3
    4. Slide 4
      • Ajax vs. JavaFX - on Performance cont’d
      • vs. Flex (ActionScript)
        • Comparison done with Takeuchi Benchmark ( JavaWorld article http://www.javaworld.com/community/node/1268 )
        • “ In summary, for this benchmark, with the hotspot server vm, JavaFX script outperforms statically typed ActionScript by a factor of 12 …”
      4
    5. Slide 5
      • Ajax vs. JavaFX - on Responsiveness of UI
        • JavaFX better with worker-threads
        • Using “web workers”, single thread-ness of JavaScript can be overcome but SLOW.
      5
    6. Slide 6
      • Ajax vs. JavaFX - on Responsiveness of UI cont’d
      • vs Flex
        • Execution model of ActionScript is single-threaded
        • BUT, underlying Flash Player uses threads, providing UI responsiveness
      6
    7. Slide 7
      • Ajax vs. JavaFX – Graphical capability
        • Bubblemark animation test
        • http://bubblemark.com
      7
    8. Slide 8
      • Ajax vs. JavaFX – Graphical capability cont’d
      • SURPRISE!!!
        • Static graphics: Chrome 100 fps vs. JavaFX 24 fps.
        • Vector graphics: Chrome 30 fps
        • What the speakers don’t consider is that JavaFX is a very new and to-date under-optimised technology.
      8
    9. Slide 9
      • Ajax vs. JavaFX – Graphical capability cont’d
      • vs. Flex
        • JavaScript on Firefox: 75 fps.
        • Flex 2 on Flash Player 10: 190 fps.
        • JavaFX 1.0: 260 fps.
      9
    10. Slide 10
      • Ajax vs. JavaFX – 3D graphics
      • Ajaxian 3D Metatunnel
      • http://ajaxian.com/archives/metatunnel-the-future-web-strikes-back
        • Most browsers are offering 3D extensions.
        • NO 3D support for JavaFX
      10
    11. Slide 11
      • Ajax vs. JavaFX – 3D graphics cont’d
      • vs. Flex
        • Flex 4 (Gumbo) mx.effects.FxRotate3d
        • Lots of 3D engines / libraries out there
        • Roxik Sharikura http://temp.roxik.com/
        • Jiglibflash 3D physics engine http://code.google.com/p/jiglibflash/
        • Etc. etc.
      11
    12. Slide 12
      • Ajax vs. JavaFX – Fonts
        • Java is weak on fonts. The speakers claim that we can’t use native fonts in Java.
        • Control over fonts in the Ajax world is even more limited, however.
      12
    13. Slide 13
      • Ajax vs. JavaFX – Fonts cont’d
      • vs. Flex
        • l@@k at www.behr.com
        • VERY GOOD font support / control with Flex
      13
    14. Slide 14
      • Ajax vs. JavaFX – Video
        • JavaFX provides “amazing” video support.
        • Open Web Video offers sophisticated video functions – browser dependant; trouble with IE
      14
    15. Slide 15
      • Ajax vs. JavaFX – Video cont’d
      • vs. Flex
        • Flash plugin surpasses JavaFX in terms of maturity.
        • De facto standard of the video on the web
      15
    16. Slide 16
      • Ajax vs. JavaFX – Language Features
        • Binding in JavaFX is compact and elegant. Web toolkits are very clumsy by comparison. 
        • The speakers quickly mention Mixins, Animation and Effects. All of this is way easier in JavaFX
      16
    17. Slide 17
      • Ajax vs. JavaFX – Language Features cont’d
      • vs. Flex (ActionScript 3)
        • Binding
        • Animations, Sequences, Triggers
        • More mature than JavaFX
      17
    18. Slide 18
      • Ajax vs. JavaFX – Deployment
        • Web wins.
          • Except for the significant browser incompatibilities
        • Java Setup still takes too long.
      18
    19. Slide 19
      • Ajax vs. JavaFX – Deployment cont’d
      • vs. Flex
        • No browser compatibility issue, no hassle installation
        • Adobe Flash Player Penetration – March 2009 http://www.adobe.com/products/player_census/flashplayer/version_penetration.html
      19 72.0% 99.3% 98.8% Japan 75.3% 98.6% 98.9% Europe 74.5% 98.8% 99.1% US/ Canada Flash 10 Flash 9 Flash 8
    20. Slide 20
      • Comparison done legitimately?
        • How big is the intersection?
        • Ajax – social networking, mashups, portals
        • Flex – multimedia rich apps
        • JavaFX – mobile? Set-top box?
      20
    21. The End 5 minutes of question time starts now!
    22. Questions 4 minutes left!
    23. Questions 3 minutes left!
    24. Questions 2 minutes left!
    25. Questions 1 minute left!
    26. Questions 30 seconds left!
    27. Questions TIME IS UP!

    + Craig DicksonCraig Dickson, 4 months ago

    custom

    2627 views, 1 favs, 2 embeds more stats

    This is a lightning presentation given by Sean Chun more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2627
      • 2536 on SlideShare
      • 91 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds
    • 87 views on http://craigsdickson.me
    • 4 views on http://craigsdickson.com

    more

    All embeds
    • 87 views on http://craigsdickson.me
    • 4 views on http://craigsdickson.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories