The Artima Developer Community
Sponsored Link

Java Buzz Forum
JavaFX : why, how and when will it be successful?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
JavaFX : why, how and when will it be successful? Posted: Sep 2, 2008 2:32 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: JavaFX : why, how and when will it be successful?
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

At the August 2008 Coding the Architecture London User Group, I presented an overview of Flex, Silverlight and JavaFX. If you've watched the video from the session, you would have seen that I wasn't very complimentary about JavaFX.

There are a number of reasons why I don't think that JavaFX is anywhere near ready for people considering building RIAs at this point in time ... quite simply, the latest preview build ships with a bunch of crippled Swing components. Granted, some of this has been talked about in the recent SDN interview; but tables are gone, tabbed panels/tabs are gone, you can't configure how scrollpanes should scroll, etc, etc. In addition to the crippled Swing components, the out-of-the-box result looks ugly when compared to Flex and Silverlight. Take a look at the screenshots in the slides from my Flex, Silverlight and JavaFX presentation for an example.

I have some other complaints about JavaFX too, which I'll admit only stem from a couple of days with it. I personally found that the error messages reported by the NetBeans plugin are cryptic and I actually couldn't get some stuff to work because the error messages just didn't make any sense. Oh, and then there's that declarative syntax. MXML and XAML are far easier to work with. Although I appreciate the folding support that you get in the JavaFX plugin, it still took me a long time to figure out what was going on when a curly brace was missing. That syntax isn't productive and I don't see anybody (especially designers) using it without some decent drag-and-drop tooling.

In Does Anyone Really Care About Desktop Java?, Bruce Eckel talks about how Sun might be taking the wrong tack with JavaFX. And I agree. Java on the desktop is a tough proposition given the competition. So then, the important questions...

  • Why are Sun doing this? : I don't know, I don't understand the impetus for doing this, aside from throwing the Java brand and an inferior Flex/Silverlight competitor into the RIA mix.
  • How are Sun going to be successful with JavaFX? : I don't think they will be, at least on the desktop. I'd even go so far to say that they're barking up the wrong tree with the desktop platform. Flex and Silverlight provide a better development environment in which to build RIAs, plus the end results look *much* better than out-of-the-box Swing UIs. And then there's HTML 5. Sun should forget the desktop and concentrate on where the battle is really happening at the moment - the mobile platform. Think about it, this is where all of the action is happening right now. Think iPhone and Android. Flex and Silverlight are mature platforms in comparison to these, so why not take the opportunity and battle for supremacy in the mobile arena instead?
  • When will Sun be successful? : Not until they release the JavaFX mobile platform, which (I understand) will be after the desktop platform has been released. I think Sun have got their priorities wrong ... forget about the desktop and make a stance on the mobile front before it's too late. Java ME has got massive support from hardware manufacturers. Why not do the same with JavaFX before Android gets a hold on the market?

I know it's (still) early days for JavaFX, but the preview version doesn't impress. Nobody may care about Java on the desktop, so why not focus on that mobile space instead.

Read: JavaFX : why, how and when will it be successful?

Topic: Mouseover inspection in debug - Firebug has it, Xcode has it, when IDEA? Previous Topic   Next Topic Topic: Flickr: API responses as feeds

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use