{"id":1084,"date":"2008-12-04T18:20:58","date_gmt":"2008-12-04T17:20:58","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/1084-suns-javafx-is-launched-another-go-at-applets.html"},"modified":"2008-12-04T18:20:58","modified_gmt":"2008-12-04T17:20:58","slug":"suns-javafx-is-launched-another-go-at-applets","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/1084-suns-javafx-is-launched-another-go-at-applets.html","title":{"rendered":"Sun\u2019s JavaFX is launched: another go at applets"},"content":{"rendered":"<p>Sun has <a href=\"http:\/\/www.javafx.com\">launched JavaFX<\/a>. <\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.itwriting.com\/images\/javafx.png\" \/>&#160; <br \/><em>Sun\u2019s Eric Klein, VP of Java Marketing, explains JavaFX<\/em><\/p>\n<p><strong>What is it?<\/strong> Sun <a href=\"http:\/\/www.javafx.com\/docs\/gettingstarted\/javafx\/\">says<\/a>: <\/p>\n<blockquote>\n<p>JavaFX is a rich client platform for building cross-device applications and content. Designed to enable easy creation and deployment of rich internet applications (RIAs) with immersive media and content, the JavaFX platform ensures that RIAs look and behave consistently across diverse form factors and devices.<\/p>\n<\/blockquote>\n<p><strong>What is it really?<\/strong> A new script language called JavaFX; a compiler that turns JavaFX script into Java bytecode; a runtime that includes new media codecs; converters that turn SVG, PhotoShop or Illustrator graphics into JavaFX format. JavaFX also requires the JRE (Java Runtime Environment). Currently only Windows and Mac OS X are supported; Linux and Solaris support \u201cwill be provided in a future release\u201d; mobile is also on the way, promised for Spring 2009.<\/p>\n<p>A variety of video and audio codecs are supported, but unfortunately these vary by platform. For example, WMV plays only on Windows; H.264 runs on Mac but on Windows only \u201cas an update\u201d, whatever that means. However, there is a specific \u201ccross-platform\u201d codec, which is <a href=\"http:\/\/www.on2.com\/index.php?id=439&amp;news_id=622\">VP6 from On2<\/a>. Snag: you need On2\u2019s commercial software to convert to the required .FXM format.<\/p>\n<p><strong>What\u2019s good about JavaFX?<\/strong> Sun claims <a href=\"http:\/\/www.javafx.com\/about\/overview\/\">broadest market reach<\/a>; but this is nonsense \u2013 I presume it is counting every device with a smidgen of Java installed. There are some advantages though. JavaFX can run Java code, and there\u2019s plenty of that out there. The Java VM is mature and fast. A neat feature is that you can run JavaFX applications outside the browser by dragging them onto the desktop. Even in the browser, Java FX are not confined to the browser window, but can create graphics that appear anywhere on the screen. Java SE 6 update 10 or higher is required for these features, which depend on an out of process Java applet plugin in this update.<\/p>\n<p><strong>What\u2019s bad about JavaFX? <\/strong>There are several reasons why Sun will find this a hard sell:<\/p>\n<ul>\n<li>Large download size. Flash and Silverlight are self-contained browser plug-ins; Silverlight is larger than Flash, but still under 5MB. I\u2019m not sure exactly what size JavaFX is on a machine without Java. I tried visiting <a href=\"http:\/\/www.javafx.com\">javafx.com<\/a> on a new XP install, and was directed to the main Java download site which recommended a JRE of about 7MB; I suspect it might do further incremental downloads after that, since the full JRE is more like 15MB. Once the JRE is in, you still need to install the JavaFX runtime, though is done automatically and I imagine that in time JavaFX will just be part of the JRE. Right now, the process is less smooth than for Flash or Silverlight. <\/li>\n<li>Lack of design tools. Adobe has its fantastic <a href=\"http:\/\/www.adobe.com\/products\/creativesuite\/\">Creative Suite<\/a>, most of which now seems to target Flash. Microsoft has <a href=\"http:\/\/www.microsoft.com\/expression\/\">Expression<\/a>. Sun is offering converters for Photoshop and Illustrator or SVG. These applications know nothing about JavaFX, and there is no visual editor in <a href=\"http:\/\/www.netbeans.org\/features\/javafx\/\">NetBeans 6.5<\/a>. <\/li>\n<li>A new language. Although JavaFX script does not look particularly difficult to learn, it is friction for developers wanting to give it a try. <\/li>\n<li>Signs of haste. I\u2019m seeing this now. When I saw the JavaFX announcement, I went to the site and successfully installed the runtime and played the introductory video, which itself uses JavaFX. Soon after, presumably as word spread, the launch site became unusable for me. Videos do not play; samples do not download. The spin will be that this shows the high level of interest; but vendors like Sun are meant to understand about scalability.\n<p><img decoding=\"async\" src=\"http:\/\/www.itwriting.com\/images\/javafx2.png\" \/>&#160; <br \/><em>JavaFX.com showing signs of stress on launch day<\/em><\/p>\n<\/li>\n<li>Late to the party. Adobe is well entrenched with Flash. If Microsoft is late with Silverlight, Sun is very late with JavaFX. <\/li>\n<li>Limited features. I\u2019m just back from Adobe MAX, learning about features like Pixel Bender in Flash Player 10, and its new text rendering engine, and new audio API. The <a href=\"http:\/\/java.sun.com\/javafx\/1\/docs\/api\/index.html\">JavaFX API<\/a> looks limited by comparison. There is no 3D support yet. <\/li>\n<li>Lack of compelling reasons for adoption. You can run Java code; but then again, Java applets and desktop Java clients have been around for many years. I can see the value in both Flash and Silverlight, but what is the must-have feature of JavaFX? <\/li>\n<li>Platform variation. It bothers me that JavaFX supports different codecs on different platforms. What happened to write once \u2013 run everywhere? <\/li>\n<\/ul>\n<p><strong>What else? <\/strong>It\u2019s early days. I\u2019d like to hear from Designers whether JavaFX does what they need. JavaFX will improve, and it does have obvious value for Java developers who want to code rich internet applications. Sun\u2019s commitment to open source may make JavaFX interesting to those who find Flash and Silverlight too tightly locked to single vendors.<\/p>\n<p>Some details above are drawn from the <a href=\"http:\/\/www.javafx.com\/faq\/\">JavaFX FAQ<\/a>.<\/p>\n<\/p>\n<div class=\"wlWriterEditableSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0599d002-4f57-4801-89b8-1387983469c6\" style=\"padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/javafx\" rel=\"tag\">javafx<\/a>, <a href=\"http:\/\/technorati.com\/tags\/sun\" rel=\"tag\">sun<\/a>, <a href=\"http:\/\/technorati.com\/tags\/microsoft\" rel=\"tag\">microsoft<\/a>, <a href=\"http:\/\/technorati.com\/tags\/adobe\" rel=\"tag\">adobe<\/a>, <a href=\"http:\/\/technorati.com\/tags\/flash\" rel=\"tag\">flash<\/a>, <a href=\"http:\/\/technorati.com\/tags\/silverlight\" rel=\"tag\">silverlight<\/a>, <a href=\"http:\/\/technorati.com\/tags\/netbeans\" rel=\"tag\">netbeans<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Sun has launched JavaFX. &#160; Sun\u2019s Eric Klein, VP of Java Marketing, explains JavaFX What is it? Sun says: JavaFX is a rich client platform for building cross-device applications and content. Designed to enable easy creation and deployment of rich internet applications (RIAs) with immersive media and content, the JavaFX platform ensures that RIAs look &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/1084-suns-javafx-is-launched-another-go-at-applets.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sun\u2019s JavaFX is launched: another go at applets<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,34,44,49,58,85,96],"tags":[],"class_list":["post-1084","post","type-post","status-publish","format-standard","hentry","category-adobe","category-flash","category-internet","category-java","category-multimedia","category-sun","category-web-authoring"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/1084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=1084"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/1084\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=1084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=1084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=1084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}