• Home
  • New Entries
  • Popular Entries
  • Submit a Story
  • About

Ajax vs JavaFX ...

Is JavaFX the "next thing" to replace Ajax? Should we even be comparing these technologies at all? Just for fun, here is an entry from my blog in a parallel universe (I have HTTP-only access to this parallel universe through alien technology that was discovered inside an asteroid that crashed in northern Alberta. Note that ICEfaces also makes use of this advanced alien technology.)

    One of the most important features of NetBeans 7.0 is the new timeline-based editor for enterprise applications. Just drag and drop your form fields into the keyframes and the tweening animator will interpolate automatically. For instance, if your case number is derived from the submitted date, the date field will morph into the case number field. For users, the interface to the generated application is simple and familiar, like a movie player. They just position their cursor on the first field and press play. It is fun for users to try to get their text input into the various fields as focus automatically sweeps across the animated data entry form.

    GlassFish now also boots via JavaFX rather than OSGi. Just press the play button, and GlassFish modules from the individual keyframes start up in sequence. EJB and Asynchronous Servlets have new sound effects that can be dynamically loaded from the update center.

    Further extending the capabilities of ICEfaces Ajax Push to support timeline-based enterprise applications (and their associated client-side Java runtime requirements), ICEfaces now introduces Hardware Push in association with Federal Express. Ajax Push allows page updates to be asynchronously delivered from the server to the client; Hardware Push takes this concept further, allowing a full client machine with current software to be pushed to the user (please allow two business days for delivery), allowing them to use timeline-based enterprise applications. Once the initial hardware is delivered, ICEfaces automatically determines the incremental updates, and pushes only the additional hardware or software necessary.

At this point, you are wondering if I have gone insane. Remember, the above text is taken from a web page in a parallel universe, it has nothing to do with me. So, let is return to our comparison: what is JavaFX?

    JavaFX is an expressive rich client platform for creating and delivering rich Internet experiences across all the screens of your life. The JavaFX platform gives you unparalleled freedom and flexibility to create expressive content across multiple screens, including mobile devices, desktops, televisions, and other consumer devices.

In other words, JavaFX is a great way to create Applets for mobile phones (at least, those that run Java) and set-top boxes. Ajax is a great way to deliver user interfaces in web browsers for enterprise applications (and any other browser-based application). This distinction is very clear, and yet many people are confused (myself included, until late last week). The confusion arises not from the JavaFX message itself, but from where it is delivered. When Larry Ellison tells us during the JavaOne General Session:

    "We would like to see accelerated development based on this exciting new platform Java with FX, which now allows us - thank-you very much James [Gosling], no more AJAX tools, which a lot of suffering programmers will, you know, pray for you for the rest of their lives because they don have to program in AJAX any more."

Everyone is sitting in the General Session as an enterprise Java developer, with the perspective that everyone else in the audience is an enterprise Java developer. Therefore, the message on JavaFX ("use it to develop your application") is perceived to be about enterprise Java applications. The message itself isn confusing ("JavaFX is great for set-top box UIs"), but the environment of the message causes it to be misdirected. In other words, we shouldn even be comparing JavaFX and Ajax. (Also remember that coding Ajax by hand does bring suffering, but using ICEfaces to build Ajax applications is really very pleasant.)

I suspect that The Ajaxians on Ajax vs JavaFX was one of the more entertaining talks of the show, but I was unfortunately unable to attend (conflict with JSF/JSR-314 and Servlet/JSR-315 expert group meetings). Maybe this was their conclusion as well?

 Original Source:
http://blog.icefaces.org/blojsom/blog/default/2009/07/01/Ajax-vs-JavaFX/

AddThis Social Bookmark Button

Posted at 07:59:07 am | Permalink | Posted in Java  

Related Stuff

  • MooV: Using cutting edge Video phones and Software Video Phones - coupling all that with VoIP and empowering the disabled.

  • Moo Telecom: VoIP communications made easy - Ring anyway with the fun and ease of using a normal phone

  • TagR:Mobile Social Network with Real Time Locations Based services, and Ambience Intelligence, VoiP, IM, Skype, Googletalk, Mapping, Flickr, Events, Calendaring, Scheduling, SecondLife Support

  • ClearSMS : ClearSMS is a Web-based application that lets you send bulk SMS messages to your customers, contacts, or just about anyone.

  • Jajah:jah is a VoIP (Voice over IP) provider, founded by Austrians Roman Scharf and Daniel Mattes in 2005[1]. The Jajah headquarters are located in Mountain View, CA, USA, and Luxembourg. Jajah maintains a development centre in Israel.

  • Skype: It’s free to download and free to call other people on Skype. Skype the number one voice over ip software

  • PrivatePhone: a free local phone number with voicemail and messages you can check online or from any phone.

Top Stuff

e-messenger

MSN Web Messenger

eBuddy

ASP.NET Ajax CalendarExtender and Validation

AIM Express

Ajax Tools for ASP.NET Developers



About Ajaxlines

Ajaxlines is a project focused on providing its audience with a database of most of Ajax related articles, resources, tutorials and services from around the world.

Its purpose is to showcase the power of Ajax and to act as a portal to the Ajax development community.


Search


Topics

  • .Net (176)
  • Ajax (112)
  • Ajax Games (10)
  • Articles (95)
  • Bookmarking (35)
  • Calendar (21)
  • Chat (45)
  • ColdFusion (3)
  • CSS (84)
  • Email (23)
  • Facebook (84)
  • Flash (20)
  • Google (54)
  • Html (29)
  • Image (12)
  • International Calls & VOIP (7)
  • Java (58)
  • Javascript (280)
  • jQuery (200)
  • JSON (75)
  • Perl (2)
  • PHP (172)
  • Presentation (19)
  • Python (3)
  • Resources (2)
  • RSS (8)
  • Ruby (32)
  • Storage (4)
  • Toolkits (103)
  • Tutorials (227)
  • UI (11)
  • Utilities (174)
  • Web2.0 (18)
  • XmlHttpRequest (29)
  • YUI (13)

© 2006 www.ajaxlines.com. All Rights Reserved. Powered by IRange