Slashdot Mirror


Sun Debuts JavaFX As Alternative To AJAX

r7 writes "Internetnews is reporting on Sun's introduction of JavaFX at JavaOne today. Looks like a combination Applet, Flash, Javascript, and AJAX with a friendly programming interface. Does this really spell the end of AJAX? I sincerely hope so. Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs. Proprietary solutions and vendor lock-in are also dead ends. JavaFX has the potential to satisfy this opportunity even better than did Java over a decade ago. Along with AJAX, let's hope JavaFX also puts paid to Microsoft's viral Active-X and JScript, and, more importantly, that it really is a web scripting language that developers can grok."

441 comments

  1. Have they fixed the startup time? by QuantumG · · Score: 3, Insightful

    Applets, and Java in general, are notorious for long startup times.

    It has been found that people give a web site about 2 seconds to respond before they determine it is not going to load and surf away.

    --
    How we know is more important than what we know.
    1. Re:Have they fixed the startup time? by Fireflymantis · · Score: 5, Insightful

      Java 5 and (even more so) 6 have really helped curb the init time of applets. Plus on windows, IIRC it stays resident so after the first instantiation of the Java VM, load up times are very small. This is not including the time required to download the required classes for the applet, but it would probably be no worse than waiting for a heavy javascript laden page to load up.

    2. Re:Have they fixed the startup time? by QuantumG · · Score: 5, Interesting

      It's the first instantiation that matters.. Applets are so uncommon that the average user will only come across them once per reboot.

      Also, because of the most stupid thing Sun ever did, people tend to deliberately close the JVM after that first initiation. Why? Cause Sun puts a stupid little Java icon into the systray. It immediately draws attention to the fact that the JVM is in memory and people think they might get a speed boost or something by closing it. (Or something equally irrational that users think.) This was a pretty predictable result.. and the icon serves no purpose anyway, so why bother?

      --
      How we know is more important than what we know.
    3. Re:Have they fixed the startup time? by MBCook · · Score: 2, Informative

      On OS X, it's very fast even on my little G4. I believe that OS X pre-loads Java. On Windows, I know it can seem that way, but if parts were pre-loaded (or the whole thing kept in memory and just paged out when not in use) startup would be fast. If this became big (and lets hope, JS is terrible) then the browser would have a VERY good incentive to pre-load java and be ready to go. It wouldn't load up and unload all of Java each time you navigate pages.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    4. Re:Have they fixed the startup time? by Fireflymantis · · Score: 1

      And if this "JavaFX" takes off (for better or for worse) then we would all be seeing a lot more applets, and then like I said, only the first init would be bothersome (on windows at least). I know on my linux box, Java applets load virtually instantly, so it would be no inconvenience to me. Also, a bit of a discaimer, I am a little bit in love with the Dojo project, so I see this as being potentially disruptive to it, but nevertheless, If it really is a decent tool for pushing out good, usable, and accessible web apps, I would be all for it.

    5. Re:Have they fixed the startup time? by QuantumG · · Score: 3, Interesting

      If it means I can write web apps in a statically typed language that is compiled I'm all for it too.

      --
      How we know is more important than what we know.
    6. Re:Have they fixed the startup time? by aled · · Score: 1

      That's just not true. The icon means that Sun JVM is running within your browser process. You can open the Java console right clicking on the icon.

      --

      "I think this line is mostly filler"
    7. Re:Have they fixed the startup time? by Fireflymantis · · Score: 1

      If it means I can write web apps in a statically typed language that is compiled I'm all for it too.

      The Cross-platform bit is nice too. :)
    8. Re:Have they fixed the startup time? by LionKimbro · · Score: 5, Informative

      I've not had, in 10 years, an easy or simple or quick Java "first time install."

      Every single time it has been hard, complex, and slow. This despite wanting it to be good.

      I generally have to go visit some download page, figure out which of the myriad Java acronyms I need to install, have it fail, then have to visit the page again and figure out how to do it manually, work at it, fail, and then ultimately, give up. In the very few occasions I've seen it work, there is the infamous Java load time to roll my eyes at.

      Contrast with Flash, which I hate, and which I practically have to struggle, to avoid having on my computer.

      That is, with Flash apps: I visit, it says, "You need flash," I click on the "OK install Flash thing," and after like 2 seconds, it's installed, and then playing whatever it was I wanted to look at.

      After the very first install of Flash, I don't notice that it even loads, at all. I don't even think about it.

    9. Re:Have they fixed the startup time? by -noefordeg- · · Score: 4, Funny

      Took my browser 5 seconds from clicking on the Slashdot logo, until the page started reloading.
      Well, I'm off then. I'll surf away to the other Slashdot...
      Oh, wait! I wanted to see the front of Slashdot again, so I actually waited for as long as it took.
      Bummer!

    10. Re:Have they fixed the startup time? by QuantumG · · Score: 4, Insightful

      The average user will never do that.

      It's just confusing to them.. and it has a negative effect on performance when they fiddle with it.

      More importantly, it's a change to their desktop which happens outside the browser window in response to going to a web page. Users don't really understand that it is the browser that spawned this.. they think that it was the web page that spawned this, and they understand that web pages shouldn't be able to put icons into their systray.

      All in all, it's a dumb idea.. and Sun should have done some user testing to see what the user's reaction to it was.

      --
      How we know is more important than what we know.
    11. Re:Have they fixed the startup time? by drinkypoo · · Score: 1, Insightful

      It has been found that people give a web site about 2 seconds to respond before they determine it is not going to load and surf away.

      Actually, it's four seconds, but what the hell, you're only off by 50%.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    12. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 2, Informative

      figure out which of the myriad Java acronyms I need to install
      What? There are only three different "flavors" (if you will) of the JDK: Java EE, Java ME, and Java SE. If you go to www.java.com, you'll only be presented with Java SE, and it doesn't even mention the SE bit. I clicked a "download java now" button, it automatically figured out which platform download I needed. Done.
      Maybe you're in some other interweb?

    13. Re:Have they fixed the startup time? by QuantumG · · Score: 2, Insightful

      and the reason for that is Adobe actually worked with browser makers to have Flash pre-installed, pre-loaded and, if it is not, easy to install. They actually did QA to ensure that the plugins work in all the different configurations of hardware and OS that people run browsers on.

      As far as I can tell, Sun never did that for Java.

      --
      How we know is more important than what we know.
    14. Re:Have they fixed the startup time? by aled · · Score: 1

      You can hide from the right button menu or open the control panel (in same menu) and disable it. It's a bit intrusive but it seems that every windows app want to put an icon there this days.

      --

      "I think this line is mostly filler"
    15. Re:Have they fixed the startup time? by hackstraw · · Score: 1

      Also, because of the most stupid thing Sun ever did, people tend to deliberately close the JVM after that first initiation. Why? Cause Sun puts a stupid little Java icon into the systray. It immediately draws attention to the fact that the JVM is in memory and people think they might get a speed boost or something by closing it.

      And then from the summary:

      Does this really spell the end of AJAX? I sincerely hope so. Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs.

      Personally, I believe the dumbest thing Sun ever did was to strongarm Netscape into renaming JavaScript into JavaScript. They have nothing to do with one another, and they confuse the heck out of people. JavaScript has become an official part of the web. Java is just another plugin, like flash, that is NOT part of the web.

    16. Re:Have they fixed the startup time? by QuantumG · · Score: 0, Offtopic

      There's 2 seconds different from what I said and what you said, how the hell isn't that "about".

      It's still a shitload shorter than the 20 to 30 seconds it takes for the JVM to start up.

      --
      How we know is more important than what we know.
    17. Re:Have they fixed the startup time? by QuantumG · · Score: 1

      It should be hidden by default.. it confuses users.

      The first 30 seconds of user testing would have told the engineers at Sun that.. so clearly they didn't do any.

      --
      How we know is more important than what we know.
    18. Re:Have they fixed the startup time? by QuantumG · · Score: 1

      the dumbest thing Sun ever did was to strongarm Netscape into renaming JavaScript into JavaScript. Uhhh.. they did? I vaguely remember them suing someone because they called it Javascript.

      --
      How we know is more important than what we know.
    19. Re:Have they fixed the startup time? by JohnyDog · · Score: 1

      Applets, and Java in general, are notorious for long startup times.
      It has been found that people give a web site about 2 seconds to respond before they determine it is not going to load and surf away.

      Yes, this has been fixed for some time - for example on my linux machine surfing to page with java applet freezes the whole browser for seconds, leaving the applet enough time to load all the stuff, without the danger of me surfing away. It has also the added benefit of me remembering the name of your page, even saying it aloud, with lots of .. urm .. "superlatives".

      Seriously though, competition is always welcome, although JavaFX seems to be aimed more at embedded/mobile devices (where java has its foothold, and flash or ajax are rarely seen).
      --
      People who like this sort of sig will find this the sort of sig they like.
    20. Re:Have they fixed the startup time? by drinkypoo · · Score: 1

      There's 2 seconds different from what I said and what you said, how the hell isn't that "about".

      Uh, because it's off by 50%?

      It's still a shitload shorter than the 20 to 30 seconds it takes for the JVM to start up.

      Which could be done at browser initialization time.

      It is also to be hoped that GPLing the JDK will lead to some performance improvements eventually.

      Not all virtual machines take so long as Java to initialize.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    21. Re:Have they fixed the startup time? by MindStalker · · Score: 4, Interesting

      It's the first instantiation that matters.. Applets are so uncommon that the average user will only come across them once per reboot.

      And thus it really depends upon how this is used. If its used deep into a page say for something like an online word processor, where you know and expect to be waiting, versus a homepage which you expect to open instantly. Really its up to the developers to use it where it makes the most sense. Sadly few do.

    22. Re:Have they fixed the startup time? by Doctor+Memory · · Score: 1

      Applets are so uncommon that the average user will only come across them once per reboot. So that's what, 4-5 times a day for the average (Windows) user?

      Seriously, though, aren't most browsers multi-threaded anymore? There's no reason why the Java plug-in can't just spawn off a thread and return control to the browser. The page can continue to render while the applet loads. And I've certainly run into plenty of Flash/Shockwave/TFMJS pages that take more than a couple of seconds to load, I think people aren't so quick to turn away as is commonly claimed. If they're just curious, maybe, but if their friend sends them a link with "OMG! U gotta l@@k!", they'll sit there for a good 10 seconds at least.

      What's the load time of the average MySpace page?
      --
      Just junk food for thought...
    23. Re:Have they fixed the startup time? by josath · · Score: 5, Insightful

      Gee, Flash 9 / Actionscript 3 has all of those features:
      * Static strict typing, that throws a runtime error if you try to cast to an incorrect type
      * Compiled into bytecode, with a JIT runtime
      * Cross-platform (windows, mac, linux and solaris)

      --
      sig? uhh, umm, ok
    24. Re:Have they fixed the startup time? by Dillon2112 · · Score: 2, Informative

      JavaFX was announced in the General Session this morning, but this afternoon, during a pseudo-general session run by Bob Bruin, the Java SE lead (his name escapes me at the moment) mentioned that they are in the middle of a push towards "faster, faster, faster" for Java 6. This doesn't just mean performance running, but he specifically mentioned startup times. This project should be released sometime aroud 6 months from now as something like "consumer JRE" - which is supposed to reduce startup times to "near zero" (read: comparable to native apps). Remains to be seen if it pans out, but it is moving in the right direction, to be sure.

    25. Re:Have they fixed the startup time? by QuantumG · · Score: 4, Informative

      I think he was referring to this site which is the one that most people link to when they want to tell someone to install Java.. because Sun recommends you link to this site.

      Anyway, I tried java.com, using Mozilla Firefox, and it gave me this page which is really quite good. One thing I gotta ask though, why is Sun asking me to install an unsigned extension? Why can't they go get a signing certificate already?

      --
      How we know is more important than what we know.
    26. Re:Have they fixed the startup time? by Curien · · Score: 3, Informative

      Adobe had nothing to do with it. Macromedia did all the legwork before they got bought.

      Also, you can't really blame Sun for not having Java pre-installed on most desktops. There were certain monopolists doing everything in their power to prevent Java's emergence as a solid platform.

      --
      It's always a long day... 86400 doesn't fit into a short.
    27. Re:Have they fixed the startup time? by jZnat · · Score: 1

      Not a single XPI in existence is signed. I don't think Mozilla has even documented how to sign XPI files.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    28. Re:Have they fixed the startup time? by ShieldW0lf · · Score: 4, Interesting

      If Sun is successful in releasing Java under the GPL, this could end up being an open source alternative to Flash/Flex and Silverlight. All three of them claim to be THE alternative to AJAX.

      --
      -1 Uncomfortable Truth
    29. Re:Have they fixed the startup time? by QuantumG · · Score: 1

      Which could be done at browser initialization time.

      It is also to be hoped that GPLing the JDK will lead to some performance improvements eventually. Yep.. it needs to be done by Sun. We can hope that someone will care enough in the distant future to have a look at pre-loading the JVM, but if Sun wants it done any time soon, and they should, then they need to contribute this. Shouldn't be hard for the biggest contributor to Open Source on the planet.

      --
      How we know is more important than what we know.
    30. Re:Have they fixed the startup time? by vux984 · · Score: 4, Interesting

      Actually, he was off by 100%. But that's beside the point.

      People may be annoyed by 2, 4 or even higher wait times, but they'll put up with them in the right circumstances without complaint.

      Showing people a blank screen, not so much. Show them a progress bar, and they might wait for it; especially if it contains something they need.

      The whole 'get it on the screen in 2 seconds or you've lost them' applies to online shopping, product reviews, forums, etc. But people are willing to wait 5-10 or even longer for their bank, their credit card, to file their taxes, to play a game, or to edit a spreadsheet. (As long as the 'start up time' is at START UP, and not after every click.)

      If 'web2.0 apps' like gmail took 5-10 seconds to start up, but didn't exhibit the html/javascript flakeyness that would be worth it. And a lot of the load time could be addressed with caching, and having the VM preloaded, if that was the only stumbling block, hell they really are more *application* than *webpage* -- with some browser support they could be ready to go in the background, selected like wii channels or something, for commonly visited 'sites'.

      AJAX is a mostly a train wreck on par with the spaghetti code that we inherited from the Basic/C/Cobol era. Html/javascript just wasn't designed for this sort of use. AJAX is like writing multithreaded real-time applications in Windows 3.0 or MacOS9 cooperative threading models... you can do it... and it can even mostly work most of the time if you don't bang on it too hard. But its never going to be great.

      asp.net was a decent move forward, as at least it mostly shielded the developer from the ajax mess. Unless you needed to do something .net didn't support, or worse when .net just didn't work and you had to dig into the javascript and html mess that your neat little .net app generates to find the problem and fix it.

      But we *really* need to see a good standards based framework on the browser side, that applications can be written against.

      Of course, we've always had Java and ActiveX. But Java was proprietary, and was hampered immensely by Microsofts attempts to discredit it, and embrace/extend/destroy it, including their own incompatible MSJVM, and "Visual J++" version of the language. Plus it was plagued by its own problems. Not to mention that the language itself I always found cumbersome. (I think Microsoft really did a good job with C# by comparison.) And ActiveX? Well, the less said about that plague on mankind the better. :)

      JavaFX, at first blush, looks like it might fit the bill.

    31. Re:Have they fixed the startup time? by drinkypoo · · Score: 0

      Yep.. it needs to be done by Sun.

      With all due respect to Sun Microsoft... er, I mean, Microsystems... I don't think they have what it takes to not fuck things up any more. I think that if anything truly good and novel appears in Java, it will appear in a non-Sun fork first.

      Java was a huge miss even at the time it was implemented, they ignored several known concepts (many of which were implemented in Smalltalk long before Java was even fucking thought of) when they created it and it's been suffering ever since. And so have we. In fact I remember a lot of people, not Microsofties either, repeatedly claiming that the CLR was superior to the KVM. (Now THAT is an overloaded initialization.)

      When Microsoft out-innovates you, you know it's time to leave the market.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    32. Re:Have they fixed the startup time? by bberens · · Score: 2, Interesting

      Actually, the Opera browser on the Wii has a flash plugin, so yes. I can't speak to the PS3 or cell phone based browsers.

      --
      Check out my lame java blog at www.javachopshop.com
    33. Re:Have they fixed the startup time? by ctr2sprt · · Score: 3, Interesting

      The difference here is that you're going to java.com, whereas the GP is going to java.sun.com (which is the first two hits on Google if you search for "java"). Incidentally, I never knew java.com existed until now: at some point I Googled for "java" when I needed a JRE, and once I somehow navigated the labyrinthine recesses of sun.java.com to download what I wanted - seriously, it's reminiscent of getting the free RealPlayer - I just bookmarked that page.

    34. Re:Have they fixed the startup time? by JensenDied · · Score: 1

      I don't know the exact time, but its long enough for my browser's UI to hang while waiting for Java to load that I have Applets blocked universally.

      --

      09:F9:11:02 - 9D:74:E3:5B - D8:41:56:C5 - 63:56:88:C0

    35. Re:Have they fixed the startup time? by bl8n8r · · Score: 1

      depends who is doing your research apparently. I usually see people reload a page at least once before they give up.

      --
      boycott slashdot February 10th - 17th check out: altSlashdot.org
    36. Re:Have they fixed the startup time? by yakumo.unr · · Score: 1

      I always just go to java.sun.com , find downloads, download the latest offline install of the JRE (java runtime environment), install, never had a problem.

    37. Re:Have they fixed the startup time? by _damnit_ · · Score: 3, Insightful

      Does this mean I'll have to have the exact right version of Java to see a webpage now? The "write once, run anywhere (where the matching version of java is installed)" problem will get very annoying for people on Web 2.0 sites.

      --


      _damnit_

      It's my job to freeze you. -- Logan's Run
    38. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Yeah, you "adults" have a nice time playing with your Wii.

    39. Re:Have they fixed the startup time? by cortana · · Score: 4, Insightful

      But it's still a proprietary platform without free implementations.

    40. Re:Have they fixed the startup time? by Peganthyrus · · Score: 1

      But just try adjusting the text size! Especially since Flyspeck 3 continues to be impossibly hip among far too many "designers".

      Never mind the additional performance hit of having to run an entire home-made UI in bytecode versus nicely predictable system widgets compiled to native code. Or breaking cut-and-paste pretty much entirely.

      --
      egypt urnash minimal art.
    41. Re:Have they fixed the startup time? by hollywoodb · · Score: 1

      While generally true, I'm much more influenced by a page's layout than its loading time.

      Case in point: I used to use Yahoo TV for TV listings and used to play a few Yahoo games from time to time. Main reason I used Yahoo over any other site was because their TV listings were presented in a clear, simple, and concise grid. Also, despite the large number of games they have on their games site, the pages were simple and navigable.

      I don't know who the hell Yahoo has in their usability and interface design deparments, but good lord is their site an over the top glitzy pile of shit these days. I don't care how long it takes to load, if I see more than one thing on the page moving, flashing, scrolling, or trying to look overly "cool" I put that site in my mental list of "do not visits".

      Now for TV listings I use a heavily ad-blocked AOL TV listings page because it was the only one that had hope of not being terrible. It is powered by Zap2It, and their actual listings page is as horrible as Yahoo's.

      Just because you can script it to look "fab", "hip", or like it is "pushing the edge" doesn't mean you should. One of the reasons Google is so damn popular is because it is simple, effective, and easy to navigate.

      If I see one more "professional" website that looks like it was designed by a 13-year old MySpace fiend on Ritalin I'm going on a booze-fueled developer-beating road trip.

      --
      I may have to share this planet with animals, but I'm doing my damn best to eat every last one of them.
    42. Re:Have they fixed the startup time? by cortana · · Score: 5, Funny

      Well someone needs to install Debian. :)

      sun-java6-plugin gets you everything you need to enjoy the 12 java applets that are on the web. ;)

    43. Re:Have they fixed the startup time? by Sancho · · Score: 1

      He's probably on the same interweb that I'm on.

      I really can't speak for Windows, but under Linux, it's never been that clear. I don't recall seeing the "Download Java" button you mentioned. Even going to the site and searching for it, it took me several seconds to locate. It's not obvious, despite probably being the number one reason that people visit the site. The more obvious location to download would be the "Downloads" section, which is prominent (on the menu bar for the page), and there you'll find all the abbreviations that the grandparent mentioned. It didn't detect my OS, but I got a list of choices that worked for me.

      Of course, knowing what to look for, I'll now be able to download it for new systems much more easily. In the past, I've waded through unhelpful pages to find an extractor that works and gives me what I want. Thanks for the pointer, but I don't think that it was obvious to me or to the grandparent.

    44. Re:Have they fixed the startup time? by Phisbut · · Score: 1

      It's the first instantiation that matters.. Applets are so uncommon that the average user will only come across them once per reboot.

      Nah, it will become common enough that all major websites will use it. Then, website designers will make everything they can to be ranked #2 in a Google search. Whatever you search, you click the first link, wait 2 seconds, decide it's not worth the wait, go back and click the second link, and it then loads instantly.

      Number 2 is the way to go baby!

      --
      After 3 days without programming, life becomes meaningless
      - The Tao of Programming
    45. Re:Have they fixed the startup time? by Billhead · · Score: 1

      What difference would it make to working adults if it ran on gaming systems?

    46. Re:Have they fixed the startup time? by Nullav · · Score: 5, Insightful

      It doesn't run on an alarm clock, either. Cross-platform means that it can run on more than one platform, not everything known to man.

      --
      I just read Slashdot for the articles.
    47. Re:Have they fixed the startup time? by Phisbut · · Score: 2, Interesting

      Not a single XPI in existence is signed. I don't think Mozilla has even documented how to sign XPI files.

      That's a gross exaggeration. I've done (proprietary) signed XPI extensions. While it is indeed quite complicated to do, it is possible. I remember having looked for documentation have finding it very sparsely a little over two years ago. I would have thought the Mozilla team would have made it better since then, but I think I'll try documenting it now.

      --
      After 3 days without programming, life becomes meaningless
      - The Tao of Programming
    48. Re:Have they fixed the startup time? by cyphercell · · Score: 1

      yes, but, that's true of all web apps.

      --
      Under the influence of Post-Cyberpunk Gonzo Journalism
    49. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 3, Informative

      Netscape renamed LiveScript to Javascript when LiveConnect actually made it possible and easy to, get this, script java objects. Despite legions of ignorant know-it-alls who feel validated by scoffing at things they feel are somehow technically amiss, Javascript has always been an appropriate name for it ... even if LiveConnect was always a slow and buggy crappy API.

    50. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      and yet, Macromedia Flash has done just fine. you are exagerating the problem a little. i would say the average user would wait up to 60 seconds for something that loads in a familiar fashion of which they are aquainted with...

    51. Re:Have they fixed the startup time? by ShieldW0lf · · Score: 3, Interesting

      AJAX is an overused acronym. It doesn't do anything that you couldn't do with frames or popups anyways.

      The limitation was never that the XMLHttpRequest object wasn't around. The limitation was that you had to deal with the realities of sending your pages over modems, creating this pressure for dynamic pages, but older computers were too slow at processing JavaScript to allow you relief by moving much display logic into the client. You'd end up locking the whole browser.

      These problems are all dealt with now because of faster networks and faster computers. The tools in this area are just the same old shit with a shiny coat of paint for the most part.

      --
      -1 Uncomfortable Truth
    52. Re:Have they fixed the startup time? by cyphercell · · Score: 1, Insightful

      Target audience asshat. Seriously, if you can't see the value of your site being read from phones, gaming systems, and a gamut of other weird little web browsers then you really don't understand the market. Right now 90% of all browsing is from pcs and laptops, but this isn't always going to be true, in fact since javascript (AJAX) is ubiquitous I would suggest that the only place Web 2.0 players are competing is in support for these new browsers. Hell if you really think about it, AJAX is the rape child of M$ and Jscript, which was used to snuff out Netscape and compete better with Java. Any developer that remembers or has slightly studied the browser wars of the nineties should be running in horror every time someone says Web 2.0 in relation to a new system designed to compete with Javascript (that's right it's not AJAX). Our energy is better spent on getting Javascript support for these new browsers and perfecting what we already have. Everything else is busy work, designed to benefit M$, Sun, and anyone else out there playing up the new Web 2.0 paradigm shift in server integrated markup and content delivery.

      --
      Under the influence of Post-Cyberpunk Gonzo Journalism
    53. Re:Have they fixed the startup time? by QuantumG · · Score: 1

      I've done it before too. I don't remember where I read the docs for doing it.

      If you get stuck writing those docs, drop me an email and I'll see if I remember anything useful for ya.

      --
      How we know is more important than what we know.
    54. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Actually, he was off by 100%
      Depends how you count.
      He was off 100% of 2 seconds, but only off 50% of 4 seconds.

    55. Re:Have they fixed the startup time? by feijai · · Score: 1

      I believe that OS X pre-loads Java.
      It does not.
    56. Re:Have they fixed the startup time? by surfingmarmot · · Score: 0, Offtopic

      "That's not cross-platform. Does it run on a PS3 or a Wii? How about on cell phones?"

      First, it DOES run on cell phones (http://www.sun.com/software/javafx/mobile/).

      Second, PS3 or Wii? WTF? Set an impossibly high standard so nothing meets it LOL?
      Mr Ballmer, stop posting to Sladot and get back to work whipping your Microserfs into fixing that flawed Vista 1.0 reelase. Accept or deny?

    57. Re:Have they fixed the startup time? by petermgreen · · Score: 1

      but unless you used expert mode to install or manually edited sources.list after install that will just be greeted by a package not found error.

      back in the woody days whether to use the non-free repositry was a question in the default install but they made it only show up in expert (possiblly at medium priority as well but its even trickier to start the install at medium than in expert mode) in the name of streamlining with the new debian installer for sarge (and it remains this way in etch).

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    58. Re:Have they fixed the startup time? by maraist · · Score: 1

      Ummm no.. when was the last time a flash web site loaded in less than 2 seconds? how about a PDF page? Personally I hate most car web sites because I cant get to the important pages without 30 seconds of downloading flash apps (that dont even work in firefox / linux). But I anticipate car and real-estate pages to be this retarded (due to their high desperation levels).

      A mail/office client should have as an OPTION, a cross platform fully featured, reliable and SAFE system.. AJAX has already demonstrated the problems here. flash I believe has a similar security problem.

      Im curious to see if this new platform stands a chance.

      --
      -Michael
    59. Re:Have they fixed the startup time? by teknopurge · · Score: 1



      1) open java plugin control panel

      2) disable caching of applets (this is enabled by default - cause caching is _always_ a good idea... ; =))

      4) profit

      3) enjoy fast java applet startup

    60. Re:Have they fixed the startup time? by Foofoobar · · Score: 1

      I've actually been discussing this in a mozilla mailing list of embedding j2me and the startup would be included with the startup up the browser. I'm sure that sun has something similar in mind.

      --
      This is my sig. There are many like it but this one is mine.
    61. Re:Have they fixed the startup time? by QuantumG · · Score: 2, Informative

      Well, ya know, PDF has a similar reputation to Java.. it freezes the browser. As such, I almost always curse myself when I click on a link that takes me to a PDF instead of right clicking and selecting save-as. There's a firefox extension which will prompt you every time you click on a PDF whether or not you want to view in the browser or save-as.

      --
      How we know is more important than what we know.
    62. Re:Have they fixed the startup time? by ClosedSource · · Score: 2, Insightful

      "Also, you can't really blame Sun for not having Java pre-installed on most desktops. There were certain monopolists doing everything in their power to prevent Java's emergence as a solid platform."

      Sure, that's why AOL wasn't successful in the dial-up era, unnamed monopolists prevented them from sending out install CDs or making deals with computer companies. Oh wait ...

    63. Re:Have they fixed the startup time? by rjshields · · Score: 1

      When Microsoft out-innovates you, you know it's time to leave the market.
      Yes, where out-innovates is defined as "pinch all your ideas and add a few new features on top".

      JVM -> CLR
      Java bytecode -> MSIL
      Java language -> C#

      If imitation is the sincerest form of flattery, M$ paid Sun a huge compliment.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    64. Re:Have they fixed the startup time? by josath · · Score: 5, Informative

      Wii - yes (flash 7, lots of sites offer flash games tailored to the wii's interface)
      Cell phones - yes ("flash lite", newer phones with FL2 are equivilent to flash 7)
      Pocket PC - yes (at least 6)
      PSP - yes (6 or 7, not sure)
      PS3 - yes (don't know the version offhand, should be at least 7 since wii has that)

      --
      sig? uhh, umm, ok
    65. Re:Have they fixed the startup time? by ClosedSource · · Score: 3, Insightful

      "There's no reason why the Java plug-in can't just spawn off a thread and return control to the browser. The page can continue to render while the applet loads."

      What useful content is going to be rendered while the applet loads? It's like saying Window's boot time isn't problem because you can watch the Windows logo while the OS is loading.

    66. Re:Have they fixed the startup time? by josath · · Score: 1

      I'm not saying flash is a good choice for content that is very text heavy. I think news sites or blogs in flash are dumb.

      You also can't say flash is bad due to poor uses of the technology. Nobody is saying is bad because it was used to write spyware.

      And as for widgets, browsers actually don't provide a lot of things. I'm thinking editable grids, sliders, date choosers, color pickers, tree views, menubars, and so forth. These all must be written in javascript, which is an order of magnitude slower than flash or java bytecode. (Though hopefully firefox 3 will use the open-sourced flash virtual machine, in order to speed things up)

      Cut and paste is only broken in flash, if you consider giving programmers the ability to make some text non-selectable to be 'broken'.

      --
      sig? uhh, umm, ok
    67. Re:Have they fixed the startup time? by rjshields · · Score: 1

      I forgot to add... when you're copying someone else's work, you can learn from their mistakes and add features that you couldn't easily do if you had a huge legacy of work to support with all the issues that go with it, backwards compatibility, different steering groups, etc.

      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    68. Re:Have they fixed the startup time? by ClosedSource · · Score: 1

      Sure, because we all know the Sun invented the virtual machine, bytecode, and C-style syntax.

    69. Re:Have they fixed the startup time? by josath · · Score: 1

      The compiler is open source, the virtual machine is open source, and flash is installed on something like 98% (depending on which version you target, and what your market is). The people who are militant about only running 100% open source are such a small market, it's not enough to influence most buisnesses, who most likely use lots of proprietary software already anyway, and buisnesses are the ones writing all the RIAs and other buzzword stuff.

      --
      sig? uhh, umm, ok
    70. Re:Have they fixed the startup time? by vux984 · · Score: 2, Informative

      AJAX is an overused acronym. It doesn't do anything that you couldn't do with frames or popups anyways.

      To my mind AJAX is more the step its taken towards generic frameworks that hide the html/javascript/xmlhttprequest stuff that's really going on, and all the cruft to support doing it on multiple browsers and presenting it all to developers with as an API.

      In that view AJAX is sort of like the OO C++ wrappers for the C windows APIs. (MFC, OWL, etc). Previously C++ programmers would encapsulate what was needed for the application at hand, each sort of hacking something together. And then suddenly there were these big huge frameworks you could program against; that mostly worked pretty well, but occasionally failed in spectacular ways or hid some functionality that you needed. Forcing you go back to the C APIs directly, and work doubly hard to avoid blowing the whole thing up, since the frameworks could be really badly trashed if you started manipulating hWnd's and so forth directly.

      The big difference though, is that AJAX is flakier than the OO wrappers ever were.

    71. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 1, Funny

      It doesn't run on an alarm clock, either.
      You owe me a new keyboard!
    72. Re:Have they fixed the startup time? by rjshields · · Score: 2, Informative

      Target audience asshat. Seriously, if you can't see the value of your site being read from phones, gaming systems, and a gamut of other weird little web browsers then you really don't understand the blah blah blah...
      See the big flashy graphic here. Notice "devices" with the picture of the cell phone and "home entertainment" with the STB looking thing. It also mentions phones in TFA, did you read it?
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    73. Re:Have they fixed the startup time? by Curien · · Score: 3, Funny

      And Toyota seems to have done OK too. I guess Microsoft didn't care too much for the car market. What was your point?

      --
      It's always a long day... 86400 doesn't fit into a short.
    74. Re:Have they fixed the startup time? by vhogemann · · Score: 1

      Java now is OpenSource... grab the source and port it.

      --
      ---- You know how some doctors have the Messiah complex - they need to save the world? You've got the "Rubik's" complex
    75. Re:Have they fixed the startup time? by vhogemann · · Score: 1

      Also,

      Last time I checked, Firefox will gadly install the latest JavaVM for you when faced with an applet.

      --
      ---- You know how some doctors have the Messiah complex - they need to save the world? You've got the "Rubik's" complex
    76. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      It's the combination of all these things that makes it a copy, and there's more similarities between C# and Java than syntax. I didn't even mention the standard libraries, frameworks or any other crap. You missed the point and made a sarcastic comment, well done.

    77. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Java and "cross platform" should not be in the same paragraph. I cannot believe that people think that anything Java will be the solution to their coding problems. Yes, AJAX has flaws, but it's not a bloated memory hog.

      Go ahead and call me a troll, but experience says that this thing is going to be a bloat monster, slow, and "breaks everywhere."

    78. Re:Have they fixed the startup time? by jesser · · Score: 1

      Static typing is great, but why do you want the code to be compiled on the server rather than on the client?

      --
      The shareholder is always right.
    79. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      I realize your post is scored 5, but the attitude was unnecessary. If you want to be angry about it, start by proving that this guy invented the term "cross-platform". I wouldn't ever expect something "cross-platform" to work on a cell phone or a game console unless the original target platform was in a similar class (the web was designed for desktops - you see where I'm going with this?).

      A cell phone and a PC are hardly similar platforms. Perhaps similar enough for page display (in a miserable sort of way), but really - fuck Wii's and cell phones. Let's get some bleeding edge features to work identically between IE, Firefox, Safari, Opera and Konqueror at the same time. Then you ritzy shits who want to edit your Web 2.0 superblog on your Linux cell phone while you're eating dinner or whatever can do WTF you want - I personally couldn't give a shit if my game console can get on the Internet, and I certainly don't give a shit if my cell phone runs Java or has anything to do with the Internet. That's why the parent left out the toy platforms - compared to desktop web surfing, nobody gives a shit about them.

      BTW, sitting on your ass starting unfounded flamewars with people is hardly "work", Mr. "I'm a Big Boy Now". Clue: You're not the only person in the world; the vast majority of those with Internet access couldn't give a shit whether their cell phone or their Nintendo will run JavaFX.

    80. Re:Have they fixed the startup time? by not+already+in+use · · Score: 1

      Oh please... spare me. Just because a web browser seems to be a manadatory part of a web enabled VIDEO GAME console, doesn't mean enough people will seriously use it to surf the web. Anyone who would be so inclined would just load linux on their PS3 (and I'm sure Wii isn't far behind). In any case, yes, it does run on PS3 and potentially Wii, as linux runs on just about anything.

      --
      Similes are like metaphors
    81. Re:Have they fixed the startup time? by chromatic · · Score: 2, Interesting

      * Cross-platform (windows, mac, linux and solaris)

      They have a non-x86 Linux version now?

    82. Re:Have they fixed the startup time? by dmsuperman · · Score: 0

      It's the first instantiation that matters.. Applets are so uncommon that the average user will only come across them once per reboot.


      The same goes for normal webpages, the first time you load it it obviously takes longer. The only difference is, the web page has considerably less information (and usability) to send you. With more interactivity and flashiness, you need to download more. This is why the speed of internet constantly speeds up, because more and more websites take up more and more bandwidth. This is just a cycle, think back when images were considered way too large and no one thought that they could be used without driving the user away; what they actually did was lead to faster connection, which meant audio was served, faster connection, ect.
      --
      :(){ :|:& };: Go!
    83. Re:Have they fixed the startup time? by AchiIIe · · Score: 1

      Well at the moment it's still a bit slower than flash. But anyhow, here are some samples of JavaFX "websites"

      http://blogs.sun.com/chrisoliver/resource/demo2.jn lp

      Right now they run as regular java apps, but imagine a lightweight plugin in your browser for that.

      --
      Nature journal lied in Britannica vs Wikipedia Ask to retrac
    84. Re:Have they fixed the startup time? by QuantumG · · Score: 1

      The code would be compiled on my dev box, deployed to the server and run on the client as bytecode.

      --
      How we know is more important than what we know.
    85. Re:Have they fixed the startup time? by kaffiene · · Score: 1

      Sun.com is the developer site, not where newbs should go to get the jre

    86. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Applets are so uncommon that the average user will only come across them once per reboot.
      And almost all of them are ugly fossils from the 90s: animations of letters mirrored in a puddle, or dynamic forms that would have been much nicer, much more accessible, flexible and stylable in DHTML. Not to mention excruciating loading times and just another useless background task eating my RAM. I grudgingly re-enabled Flash with the advent of Youtube &c, but Java? Not In My Browser. I don't think I'm missing much.
    87. Re:Have they fixed the startup time? by macro187 · · Score: 2, Interesting

      Why is parent flamebait? He/she's right. Didn't we all just spend the last half decade trying to get rid of Flash, preaching standards support, accessibility, CSS, etc, lambasting MS for shitty standards support in IE?

      Anyways,

      "Internet browsing via a wireless device is showing robust growth in many global markets. France and the U.K are exhibiting the strongest growth in this trend"

      "four in 10 adults browse the Internet on their wireless handset in Japan"

      http://www.ipsos-na.com/news/pressrelease.cfm?id=3 049

      With those kinds of numbers, anyone developing applications that don't work anywhere (especially mobile phones) should be fired.

    88. Re:Have they fixed the startup time? by ClosedSource · · Score: 1

      The point is that none of the Java characteristics you mentioned originated in Java. Java was just an implementation of ideas already commonly in use.

      "I didn't even mention the standard libraries, frameworks or any other crap."

      Nor should you since there are many differences between the two. For example, in ASP.NET all pages are compiled into .NET classes that can call any method in the FCL directly. What part of Java (circa 2002) was that copied from?

    89. Re:Have they fixed the startup time? by ClosedSource · · Score: 1

      I wasn't aware that Toyota made PC software. Or were you just trying to make the absurd point that AOL's business was no more related to the PC than Toyota's business was?

    90. Re:Have they fixed the startup time? by xarak · · Score: 1


      But usually a "Wait while JavaFX starts your application" would be enough to keep people connected.
      It's the not knowing what's going on that's frustrating.

      --
      Atheism is a non-prophet organisation
    91. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      How about implementing a browser in Java? Then there'd be no load time for the applets because the JVM already needs to be up for the browser.

      (Yes, I know that won't work.)

    92. Re:Have they fixed the startup time? by KPU · · Score: 1

      So what you're saying is that I should make my boot time longer just so the first applet loads faster?

    93. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 1, Interesting

      Funny how this whole thread is going off on so little information.

      Along with JavaFX, Sun is going to have (1) a version of the JRE which initially only loads a kernel and then loads the rest on demand and (2) pre-loading of critical JVM bits into the disk cache. Between these two the download size should go down by >60% and the load time to under 2 seconds.

      So what's the issue here?

    94. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Yes, it does run on cell phones.

      As for the Wii and PS3: it's GPL, dude. More compiling, less whining.

      It's amusing that you make a snarky remark about "adults" right after mentioning toys like the Wii and PS3. Hint: the "adults" who are doing "work" don't spend their lives pretending to kill/have sex with cartoon characters.

    95. Re:Have they fixed the startup time? by Angostura · · Score: 1

      They renamed LiveScript ISTR.

    96. Re:Have they fixed the startup time? by random0xff · · Score: 1

      But Silverlight/XAML and Flash/Flex both also offer XML based layout with controls/widgets to build your application UI. Does JavaFX have something similar?

    97. Re:Have they fixed the startup time? by StarfishOne · · Score: 1

      For those people who don't want to go out and search for it because they didn't have their daily shot of caffeine yet :P

      Firefox Add-ons - PDF Download:
      https://addons.mozilla.org/en-US/firefox/addon/636

    98. Re:Have they fixed the startup time? by groomed · · Score: 2, Insightful

      Not really. The SWF file format is open, and there are quite a number of quality open-source Flash development tools. There is no open source Flash runtime which is as good as the Adobe runtime, but then there is no Java runtime which is as good as Sun's runtime either.

    99. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      The SWF file format is open, and there are quite a number of quality open-source Flash development tools.
      Open is in you can create this per spec but not play back per spec. That is to say, not open at all.
    100. Re:Have they fixed the startup time? by cortana · · Score: 1

      The SWF file format is not open. In order to read the spec document you must agree to a nasty EULA forbidding you from competing with Adobe.

      I don't have a problem with Sun's Java runtime since it is about to be released under the GPL.

    101. Re:Have they fixed the startup time? by badfish99 · · Score: 1

      Of course you will get a speed boost by closing it. You said yourself that users only encounter one java applet per reboot, so after that it is just sitting there wasting valuable memory.

    102. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Yes, and they bring me never ending streams of joy as an administrator as I juggle the seven different JREs that must be installed, carefully balancing my CLASSPATH so that the 1.3.12_2 JRE doesn't crash running software X without breaking software Y with the 1.4.6 JRE, and reminding my users once again how to switch between the Sun and Microsoft JVM in Internet Explorer so that the one applet that actually requires the Microsoft JVM in a critical internal application, will work.

      I love Java. I also love being tied up and beaten, so it's a good fit with my personality type.

    103. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      I didn't say they copied everything, asshat.

    104. Re:Have they fixed the startup time? by Khazunga · · Score: 2, Informative

      ...and there are quite a number of quality open-source Flash development tools...
      Name one that even resembles Adobe's IDE... For Java, IDE's are a-dime-a-dozen.
      --
      If at first you don't succeed, skydiving is not for you
    105. Re:Have they fixed the startup time? by pAnkRat · · Score: 1

      As of yesterday (8 mai 2007) sun released the JDK under the GPL2.
      Once the rush is over, go to https://openjdk.dev.java.net/ and have a look around for a free implementation.
      AFAIK one of the main devels of KAFFEE is now one off five people looking over openjdk.

      see http://java.sun.com/javaone/sf/2007/articles/openj dk_sands.jsp for an interview

      --
      we need an "-1 Plain wrong" moderation option!
    106. Re:Have they fixed the startup time? by pAnkRat · · Score: 1

      complicated??

      - open synaptic
      - search sun java
      - double klick java5
      - klick "aply changes"
      - .... (wait for download and install)
      - done

      Hmmm, where's does the profit thingy go again?

      --
      we need an "-1 Plain wrong" moderation option!
    107. Re:Have they fixed the startup time? by groomed · · Score: 1

      FlashDevelop and the FDT plugin for Eclipse, to name just two, both provide a very good development environment, in many ways better (from a developers perspective) than the Adobe IDE. Of course the Adobe IDE also doubles as a design environment, and in that role it has virtually no competition. But this has traditionally been the case with design tools. Because designers heavily invest in a specific tool (like Photoshop, InDesign or Quark), and those skills are harder to transfer between different tools than the skills of a developer.

    108. Re:Have they fixed the startup time? by cortana · · Score: 1

      (I was referring to Flash, not Java)

    109. Re:Have they fixed the startup time? by Jellybob · · Score: 1

      But we *really* need to see a good standards based framework on the browser side, that applications can be written against.


      Prototype (and Scriptaculous) do the job nicely for me. Sure, you still have to use Javascript, but that's really not as painful as it used to be - Prototype does a very nice job of abstracting away browser inconsistencies, and gives you a single API that you can be fairly sure will work wherever you try to use it.

      Combined with JSON on the server side, you can create some very responsive web applications.
    110. Re:Have they fixed the startup time? by Raenex · · Score: 3, Informative

      Why is parent flamebait? Probably for this line:

      "Go run along and play; the adults have work to do."

      You can make a point without insulting people. In fact, it tends to work a lot better.
    111. Re:Have they fixed the startup time? by baadger · · Score: 1

      Yeah unfortunately if you have a 64bit OS and browser you're out of luck when it comes to Java web applets.

    112. Re:Have they fixed the startup time? by vux984 · · Score: 1

      Yes they do. But they don't get rid of the mess. They just hide it so you usually don't have to see it. Its effective, but its not really that good.

      Abstracting differences between browsers is a practical solution, but its not an ideal solution.

      Its really almost exactly like ipv4 with NAT proliferation, and ipv6. The first is a practical solution and you can make some great internet applications with ipv4, and there are libraries to help abstract away the nat traversal issues and so forth...

      But ipv6 is still a better solution.

      In both cases we have practical solutions that work with what we have but are as ugly as sin, and ideal elegant solutions that would work simpler and better, but are difficult to get up and running because its difficult to get something new to reach critical mass.

      Right off the top the restriction to having to use Javascript is a serious flaw in the 'current system'. Javascript is a great language for quick and dirty web forms... but enterprise level web based applications? Get real! its a scripting language, and its not even entirely reliably implemented to spec across browsers.

      The ability to use the right tool for the job was one of the major failings of Java and one area where .NET made big improvements. C# is a great language... but its not the 'best language for all possible projects'. Neither is Javascript... or Lisp...or anything else... the ability to use a variety of languages on the CLR "VM" is one of its biggest advantages.

      "AJAX" as an platform gets the job done, but we can do so much better.

    113. Re:Have they fixed the startup time? by tacocat · · Score: 1

      I think there are more alternatives than just Java.

      The solution is not Javascript and I think everyone who looks at AJAX for a few minutes realizes that Javascript, as it stands today, is not long for this world.

      Whatever the solution is going to be, someone better start working on it sooner than later. But the elements that will make the language useable into the future are going to be:

      • object oriented?
      • interpreted language.
      • extremely lightweight such that it can be loaded as part of the browser without bringing down the house lights.
      • non-proprietary is an absolute must.
      • capable of it's own (secure?) data transmission methods -- data marshalling, maybe xml, and ssl tunnelling support?

      At this point I'm tempted to say the language will be a subset of an existing language that meets these requirements. Examples might be Perl, Ruby, or Python.

      Java may have some pretty good starts in this direction, but I think Java has enough problems of its own that it will never be able to serve the lightweight interface of today's Javascript. It has it's place. Just not on every single web page in the universe.

    114. Re:Have they fixed the startup time? by AaronLawrence · · Score: 1

      What useful content is going to be rendered while the applet loads?

      Other pages. Heard of tabbed browsing? Windows? Oh sorry, I should sit there staring dumbly at my browser while it grinds away loading up . No, most things get loaded in the background and I look at them when they are finished.

      In the case of Mozilla suite (Seamonkey) it also holds up the email client, but I think thats more a fault of Mozilla ...

      --
      For every expert, there is an equal and opposite expert. - Arthur C. Clarke
    115. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Took my browser 5 seconds from clicking on the Slashdot logo, until the page started reloading.
      Well, I'm off then. I'll surf away to the other Slashdot...
      Oh, wait! I wanted to see the front of Slashdot again, so I actually waited for as long as it took.
      Bummer!


      That is the blazing fast performance of perl in action. Didn't you know that php sucks and perl is god?

      On the subject of the summary: "a combination Applet, Flash, Javascript, and AJAX". Holy crap, my worst web nightmare come true! Only sun could dream up something so sick and twisted. I like html just fine thanks, I find myself using Lynx more and more to get any useful content at all out of the web these days.
    116. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      You must be new here - even if flash were to find a cure for cancer, provide immediate world peace, and (bit unlikely this, but bear with me) find a girlfriend for each and every slashdotter, then it would still be shouted down.

      Anyhow, you're bang on the munzak about Flash 9; once you've seen what is possible with flex2 then these rather meagre offerings from Sun and M$(silverlight) make a bit more sense- truth is they're running scared.

    117. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      You must be new here- even if flash were to find a cure for cancer, provide instant world peace and, a bit unlikely this but bear with me, find a girlfriend for each and every slashdotter, then it would still be shouted down.

      Anyhow, you're right about flash 9; when you see whats possible with flex2 then the rather meagre and desperate offerings from Sun and Microsoft (silverlight) make a a bit more sense - truth is they are running scared.

    118. Re:Have they fixed the startup time? by Perky_Goth · · Score: 1

      Amusingly enough, I just (as i read this) had to jump around on the adobe site because it insisted in showing me only the solaris version. Just a coincidence, obviously, but a cute one.

    119. Re:Have they fixed the startup time? by SenseiLeNoir · · Score: 1

      the "correct" url is now:

      http://openjdk.java.net/

      (the old one still has old content)

      --
      Have a nice day!
    120. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Actually, the whole problem with long startup times of Java applets is to be blamed on Microsoft. 3MB Java applet which takes more than 1 minute to load in IE, loads within 5 seconds in Opera (not counting download times).

      When you consider that at a time when Java applets were new Microsoft tried to compete with ActiveX... it makes perfect sense.

      Applets are great technology - but unfortunately Microsft managed to kill it.

    121. Re:Have they fixed the startup time? by Gospodin · · Score: 1

      Ah, but is it free?

      --
      ...following the principles of Heisenburger's Uncertain Cat...
    122. Re:Have they fixed the startup time? by ClosedSource · · Score: 1

      Had you read the post I was responding to carefully, you'd have realized that he was referring to the page that contained the java applet, not other pages. Sure, you could open up another tab (assuming Java wasn't slowing your computer to a crawl), read a few pages of a book, or go get some coffee; all activities that have nothing to do with what you were trying to accomplish when you navigated to the page with the Java applet.

    123. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      1) The ADULTS have work to do because they want their web app to work on their PS3 gaming console?
      2) Cross-platform means that it can run on multiple platforms, it doesn't specify that it has to work on ALL KNOWN platforms. Since Java doesn't work on *my* crappy old cell phone, it isn't cross-platform according to your standards either, making your claim just as myopic. Check out http://en.wikipedia.org/wiki/Cross_platform if you don't believe me
      3) I think it's pretty safe to say that Macs, PCs and Mobile devices with flash plugins have a slightly larger market share than your PS3 does on the internet. If you don't believe me, check out the web-stats for popular websites and see how many access them from their PS3.

      Troll.

    124. Re:Have they fixed the startup time? by m50d · · Score: 1

      To be truly crossplatform means that it can run on any platform that supports some basic standard (such as C, or Posix, or perhaps WxWidgets); it doesn't need to be ported to new platforms, rather new platforms will implement the standards needed to support it. Given how well e.g. the BeOS port of Java is going, I don't think it qualifies.

      --
      I am trolling
    125. Re:Have they fixed the startup time? by Hamfist · · Score: 1

      I think you missed the point. The word the parent used was 'free'. Not 'Open Source'. Java/ECMA Script + Free Browser + Free Webserver + Free Backend = Free End to End solution. The parent made the distinction. Open Source Free. Adobe could take Flash away tomorrow if they wish (like MS has taken away Windows 2000).

    126. Re:Have they fixed the startup time? by sucati · · Score: 1

      Typically you end up using less bandwidth with AJAX because you are sending just the data and not the HTML. Not sure about the older computer argument as Outlook web (reportedly the first ajax app) always worked fine for me 5 or so years ago.

    127. Re:Have they fixed the startup time? by drinkypoo · · Score: 1

      I forgot to add... when you're copying someone else's work, you can learn from their mistakes and add features that you couldn't easily do if you had a huge legacy of work to support with all the issues that go with it, backwards compatibility, different steering groups, etc.

      That's very true, and it makes it even more puzzling that the KVM does not include features which were developed for Smalltalk in the seventies.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    128. Re:Have they fixed the startup time? by FreshOuttaMaps · · Score: 1

      Google Toolbar is signed. There is some documentation here.

    129. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      AJAX is an overused acronym. It doesn't do anything that you couldn't do with frames (except not have to fit in a frame) or popups (except not have to pop up) anyways.
      fixed
    130. Re:Have they fixed the startup time? by udoschuermann · · Score: 1

      Sorry, but I've installed and upgraded Java more times than I can remember now over the past 10 or 11 years, and the only place where I've ever had real issues was on Windows (but even those have not reared their ugly head in a few years). Java's initial startup time is on the order of a second or two, yes, but only the first time. After that a simple Hello World program takes about 1/50th of a second to load (that's on a 4-year old laptop).

      And with Java 1.6 a splash graphic for applications shows up in a fraction of a second and within a second or two (even on first load) your application can begin to draw into it to provide feedback to the user while a complex GUI is constructed in the background.

      With Flash, on the other hand, I can never predict when the sound will work and when things are mysteriously silent. Sometimes I'm sent off to a website to upgrade to the latest and greatest only to be informed that it's not available for my operating system.

      So, while Flash may be more ubiquitous on some platforms, its record is extremely spotty as far as I'm concerned. My money is on software that has a proven cross-platform record and if JavaFX actually delivers on its promise (which has yet to be proven, of course) then a 1 or 2 second startup time will not be much of an argument against it.

      P.S. The myriad Java acronyms are ugly, yes, but there are really only three you need to be remotely familiar with: J2EE (the "EE" part is the enterprise edition which you probably don't need). The other are the JDK (dev kit for developers) and the JRE (runtime edition if you just want to run Java stuff). The vast majority of people want the JRE. On Windows this one will even check for and install updated versions once a week or so. And it can't get much easier than going to java.com and clicking the big green button...

      --
      --Udo.
    131. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Why don't you try Wt? http://witty.sf.net/
      Compiled code, clean interface, no cross-browser conflicts

    132. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      The same thing that gets rendered in flash: a loading screen. What's the problem?

    133. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0

      Perl?? Sorry, but 1998 is over.
      With the open-sourcing of Java now being official, expect to see Java get better and become king of the webapp development world in Linux. That's a good thing.

    134. Re:Have they fixed the startup time? by Toonol · · Score: 1

      I guess this is as good a place as any to ask this:

      I wanted to try programming some simple flash games, but my initial searches left me somewhat unclear about what software I needed to obtain to do so. There's flash, which incorporates actionscript, which has a traditional compiler, but is part of a larger development system that include a GUI? I became confused.

      Is FlashDevelop or the FDT plugin for Eclipse all that is needed?

    135. Re:Have they fixed the startup time? by suffe · · Score: 1

      It's like saying Window's boot time isn't problem because you can watch the Windows logo while the OS is loading.


      If the myriad of different boot screens for windows (and linux for that matter) is anything to judge by, it isn't entirely useless it would seem.
      --

      Karma: 2.71828182846 (Mostly due to small, fun pills)
    136. Re:Have they fixed the startup time? by Scentless · · Score: 1

      "After the very first install of Flash, I don't notice that it even loads, at all. I don't even think about it."

      And yet you say "Contrast with Flash, which I hate..."

      Talk about irrational users!

      Love Flash, embrace the Flash.

    137. Re:Have they fixed the startup time? by Schnoogs · · Score: 0

      Gee...Flash 9 isnt free. Gee...Flash 9 doesnt allow me to leverage existing code Gee...Flash 9 doesnt unify my code base from the server all the way to the client. Let go of your grip on Flashs nuts for a second.

    138. Re:Have they fixed the startup time? by fredrik70 · · Score: 1

      well, Adobe is making Flex open source as well (see here)
      I suppose the more the merrier!

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
    139. Re:Have they fixed the startup time? by AKAImBatman · · Score: 1

      But the elements that will make the language useable into the future are going to be:

              * object oriented?
              * interpreted language.
              * extremely lightweight such that it can be loaded as part of the browser without bringing down the house lights.
              * non-proprietary is an absolute must.
              * capable of it's own (secure?) data transmission methods -- data marshalling, maybe xml, and ssl tunnelling support?

      Congratulations, you've just described Javascript.
    140. Re:Have they fixed the startup time? by MightyMartian · · Score: 1

      AJAX may not be a bloated memory hog, but the platforms on which it runs are (namely web browsers).

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    141. Re:Have they fixed the startup time? by Anonymous Coward · · Score: 0
      cortana:

      sun-java6-plugin gets you everything you need
      Not necessarily...
      • on some releases, it's sun-java5-plugin
      • if you're using x86_64, there is no Sun java-plugin package available
      • if you search for Java packages, you end up with several different implementations, and the average end user has no idea which to use (or if multiple implementations are installed, how to select which to use)
      • if you're using Firefox on Debian or Ubuntu, it tells you to go the the Java web site, instead of installing a package through apt
    142. Re:Have they fixed the startup time? by BrainInAJar · · Score: 1

      This particular problem, I imagine, will vanish quite soon. JDK is open-source now, should be short work to convert it to do what you're hoping. What benefits you seem to expect from a 64-bit browser, on the other hand, is a different problem

    143. Re:Have they fixed the startup time? by Sylvak · · Score: 1

      I don't understand why people say that ajax is not a cross-platform solution. Libraries like prototype.js makes the cross-platform issue a non-issue. I'm currently coding myguild.com, and many sections of it uses ajax. Although I code for firefox, I tested most of the code with IE and all the ajax stuff worked right out of the box. I'm aware of a some javascript code on the site that needs tweeking for it to be cross-browser compliant, but none of it is related to AJAX.

      I agree that programming your first ajax app can be mind numbing, but it's the same thing with writing your first MVC java application. Ajax apps are more complex simply because it opens up the user-interface to a world of new possibilities. Aside from that, it's relatively simple.

      new Ajax.Updater('divId', 'url')... couldn't get more simpler that that

    144. Re:Have they fixed the startup time? by ShieldW0lf · · Score: 1

      Nice. Except any decent AJAX framework is going to encapsulate the logic they use behind something like:

      if XMLHttpRequest then
            Mozilla Newer
      elseif ActiveXObject(Microsoft.XMLDOM) then
            IE Newer
      elseif document.createElement && document.childNodes then
            Use a hidden DIV and a 0x0 IFRAME
      else
            You're screwed, sorry
      end if

      --
      -1 Uncomfortable Truth
    145. Re:Have they fixed the startup time? by CodeManBob · · Score: 1

      Why is parent flamebait? Probably for this line:

      "Go run along and play; the adults have work to do."

      You can make a point without insulting people. In fact, it tends to work a lot better. Ooh, it looks like somebody needs a nap!
    146. Re:Have they fixed the startup time? by Sylvak · · Score: 1

      I completely agree with you. I think people that are dissing javascript are people that haven't really kept up with it in a while.

      I used to think that javascript was for simple web form validation, and kept writting code in C, java and python. After ignoring javascript for a while, I ended up looking at some AJAX applications... It was a jaw dropping experience to say the least.

      Now that prototype.js is available, AJAX is cross-browser compliant and simple to use. On top of that, now there's also script.aculo.us, and other interesting libraries. So finally, we get to the point where we no longer need Flash... and then this 'new language' pops up.

      I think I'll stay ahead of the curve and stick with AJAX.

    147. Re:Have they fixed the startup time? by jp10558 · · Score: 1

      I never understand why people want to open PDF in their browser. It's a file, pass it off to the proper app. Much better PDF experiance.

      --
      Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
    148. Re:Have they fixed the startup time? by Fordiman · · Score: 1

      Not that it matters. This is just yet another plugin.

      I don't know where TFA gets its ideas about AJAX, but it's only insecure if you don't do best practices (or, as I've seen in some places, if you're doing worst practices.)

      --
      110100 1101000 1101000 1100110 0 1101111 1101000 1100011 1
    149. Re:Have they fixed the startup time? by groomed · · Score: 1

      It's probably best if you start off learning what SWFs are and how the Flash "IDE" works before you start looking at the alternatives. It's a pretty complex system with heavy emphasis on graphics and animation and a large amount of cruft. You can trial Flash for 30 days, after that you can look at tools like FDT, MTASC, SWFmill and FlashDevelop. See osflash.org for a variety of open source tools around the Flash platform (like MTASC and SWFmill).

    150. Re:Have they fixed the startup time? by nwbvt · · Score: 1

      Flash has the same problem. I can't tell you how many times I haven't been able to view a site because I don't have Adobe's update. And JavaScript is even worse, there you don't even have well defined versions that the app needs. There its just "This script will run on IE 6.0, Firefox 1.5, and maybe some versions of Opera".

      --
      Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
    151. Re:Have they fixed the startup time? by cyphercell · · Score: 1

      please learn how to read a thread.

      --
      Under the influence of Post-Cyberpunk Gonzo Journalism
    152. Re:Have they fixed the startup time? by supersnail · · Score: 1

      Javascript is all the above.
      The things it lacks - like a good library of UI functions
      it lacks because they are not supported in W3C standards.

      By only addressing the features provided by a standards complying
      browser ECMAscript (to give it its real name!) works pretty much everywhere
      and while the prototype dojo & etc. libraries may seem kludgy at first
      they do work on any javascript supporting browser.

      So a message to SUN -- java had its chance at cross platform browser based apps
      and blew it. ECMAscript stepped into the gap left and quietly and efficiently
      achieved everything Applets were meant to do. So it aint broke and no one needs
      a rerun of the write once crash everywhere fiasco that was java applets.

      --
      Old COBOL programmers never die. They just code in C.
    153. Re:Have they fixed the startup time? by DragonWriter · · Score: 1

      Seriously, though, aren't most browsers multi-threaded anymore? There's no reason why the Java plug-in can't just spawn off a thread and return control to the browser.


      Or, perhaps better, why the browser can't asynchronously launch the JVM on browser startup, so that the startup delay doesn't happen when you first hit an applet (unless, of course, the applet is on your homepage.)

    154. Re:Have they fixed the startup time? by Doctor+Memory · · Score: 1

      What useful content is going to be rendered while the applet loads? Um, the rest of the page? You know, kind of like when Flash ads or graphics from other sites are loaded now? The browser (optionally) sticks in a placeholder of the appropriate size for the applet, then renders the rest of the page around it. Unless the applet is the only thing on the page, you'll be able to at least read the text while the applet loads and starts.
      --
      Just junk food for thought...
    155. Re:Have they fixed the startup time? by FunkyELF · · Score: 1

      I went to Chris Oliver's JavaFX Talk at JavaOne (recently renamed from F3).

      He didn't even field any questions about startup time or comparing it to flash or ajax. They questions were asked and the people asking them were asked to step away from the microphone and go back to their seats. That is not what it is and this summary and article are dumb. This language has great potential but Sun needs to fix some stuff. They have a great deal planned for the next update of Java SE 6 to improve startup time.

    156. Re:Have they fixed the startup time? by AKELA501 · · Score: 1

      All the tools software developers need to create cross-platform Java desktop, enterprise and web applications. Runs on Windows, Linux, MacOS, as well as Solaris. It is easy to install and use, works right out of the box -- and it is open-source and free!

    157. Re:Have they fixed the startup time? by nanosquid · · Score: 1

      As of yesterday (8 mai 2007) sun released the JDK under the GPL2.

      Well, sort of. Not all of it has been released.

    158. Re:Have they fixed the startup time? by tacocat · · Score: 1

      I guess I should have applied one more... It's got to do a function in a single line and not a decision tree trying to find out what function will work in the current browser environment. Because of this, I cited the idea of taking an existing non-browser based language and using that. That way it's defined before it's assimulated into the browsers and if anyone screws it up, it becomes their problem.

    159. Re:Have they fixed the startup time? by AKAImBatman · · Score: 1

      I guess I should have applied one more... It's got to do a function in a single line and not a decision tree trying to find out what function will work in the current browser environment.

      You mean like this?

      if(document.addEventListener) document.addEventListener("click", myhandler, false);
      else document.attachEvent("onclick", myhandler);
    160. Re:Have they fixed the startup time? by baadger · · Score: 1

      Who cares, if there are no user appreciable benefits? I know at the moment I have both 32 bit and 64 bit libraries on my system. The way I see it thats twice the effort for package maintainers. If we follow your line of thought then we might as well all stay with x86-32, right?

  2. Ok, let's try it... by Corpuscavernosa · · Score: 0
    In Soviet Russia, AJAX debuts Sun!

    Dammit, I'll get a good one someday.

    --
    We figured out a long time ago that it's easier to elect seven judges than to elect 132 legislators.
    1. Re:Ok, let's try it... by Anonymous Coward · · Score: 0

      In Soviet Russia, Abyss stares into you!

  3. Proprietary solutions & vendor lock-in by cortana · · Score: 4, Insightful

    So we're moving away from a de-facto standard that is already implemented with free software, towards the proprietary Adobe Flash platform and the vendor lock-in that it implies?

    1. Re:Proprietary solutions & vendor lock-in by MBCook · · Score: 3, Informative

      We are moving from using an open language (Javascript) that can be a real pain (thanks to all the different browsers ways of interpreting and using things) to an open language (JavaFX will be open sourced according to the FAQ) that will have a good reference implementation and should alleviate many of these annoying little things about JS, without having to use something as heavy or overkill as Flash.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    2. Re:Proprietary solutions & vendor lock-in by aled · · Score: 1

      Language are not open source, just particular implementations of a language (ie: a compiler, an interpreter, a runtime, etc) can be open source, as any program.

      --

      "I think this line is mostly filler"
    3. Re:Proprietary solutions & vendor lock-in by DragonWriter · · Score: 3, Insightful

      We are moving from using an open language (Javascript) that can be a real pain (thanks to all the different browsers ways of interpreting and using things) to an open language (JavaFX will be open sourced according to the FAQ) that will have a good reference implementation and should alleviate many of these annoying little things about JS, without having to use something as heavy or overkill as Flash.


      Is the JVM really less "heavy or overkill" than Flash?
    4. Re:Proprietary solutions & vendor lock-in by cortana · · Score: 1
      Serves me right for believing what I read in the Slashdot article summary.

      Looks like a combination Applet, Flash, Javascript, and AJAX with a friendly programming interface. I interpreted that literally. Now I see that this is just a Java Web Start (which is a great technology, it's just a shame that its applications are slow to load, and that users have to make a deliberate effort to install the JRE).
    5. Re:Proprietary solutions & vendor lock-in by uradu · · Score: 1

      > that will have a good reference implementation

      Will, will, will. Yeah, the grass is always greener on the other side, and every new programming language or platform will be better than anything before. Especially WRT anything coming from Sun I would be very leery of a product with great promise and a deeply flawed implementation. You know what's cool about JS and AJAX? They're here right now and they work, and people can keep writing apps with them provided they have a modicum of know-how and experience without having to wait for anybody's promised golden calf or what have you. But you know what's even cooler? You and anybody else is more than welcome to forgo JS and AJAX and wait for that next programmatic savior if you so choose.

    6. Re:Proprietary solutions & vendor lock-in by r7 · · Score: 1

      Is the JVM really less "heavy or overkill" than Flash? If you have a reasonably up-to-date system there is no difference in the end-user experience.

      More importantly, Java does run on a 64-bit Linux desktop. Flash and a number of
      other proprietary so-called standard products (by Adobe, Real, etc) do not.
    7. Re:Proprietary solutions & vendor lock-in by DragonWriter · · Score: 1

      If you have a reasonably up-to-date system there is no difference in the end-user experience.


      Which seems to say that it is equally heavy and overkill with Flash, not less, and thus not warrant the claim that Java enables you to do something without something "heavy and overkill" like Flash.

      More importantly, Java does run on a 64-bit Linux desktop.


      That may be more important, at least to people running 64-bit Linux desktops, but that wasn't the claim that was made. Certainly, Java's cross-platform availability (and now its open-source nature) are advantages over Flash for certain audiences, but that's completely different than the "heavy and overkill" claim.

  4. AJAX Going Away? Oh noes! by AKAImBatman · · Score: 4, Insightful

    Does this really spell the end of AJAX? I sincerely hope so. Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs.

    Did it occur to you that you're sounding exactly like the hype you're decrying?

    AJAX is a stupid name developed for the ole' hype machine (mostly to sell conferences and books, methinks) but the basic web technologies behind it are NOT THAT BAD. To use the example from the article, am I "tearing [my] hair out over as [I] attempt to get the JavaScript working in both Internet Explorer and Firefox?" Actually? No, I'm not. And I just implemented a Comet library in both Javascript and Actionscript. About the most frustrating thing was the fact that Opera ignored the cache-disable commands when using XML.load in Flash. So I build a solution into the library. And if you think that's fun, wait until I detect Server Side Events in Opera and use XMLSockets in Actionscript!

    *shrug*

    Oh, and I had to dynamically patch Safari and Opera to add support for the toSource function. Easy as for(var i in object) pie.

    The problem with most "AJAX coders" is that they still think of Javascript as that cutesy language they used to do scrolling statusbar text with. But it simply isn't that bad. In fact, Javacript is a full-up, Object Oriented (or at least, OOP capable) langauge that fits the lightweight needs of the web browser perfectly. Java is a 600 pound gorilla that's better for designing heavyweight applications that are secure, robust, fast, and feature complete. The two target very different markets.

    As for JavaFX, there is (if you'll excuse the expression) "nothing to see here". It's just a Silverlight competitor. Which makes it just as questionable as the product against which it's competing. If you really want a replacement for XMLHttpRequest, use XMLSocket instead,
    1. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      The main difference between JavaFX, Flash and Sliverlight is that fact that JavaFX is truly cross platform and based on an open source technology.

      Ultimately, the toolset will determine the winner in the end. The flash kiddies need to be able to use JavaFX without being forced to get real programming skills.

      My vote is defiantly for the open solution though.

    2. Re:AJAX Going Away? Oh noes! by thujone20 · · Score: 1

      Thanks for your response -- saved me some typing!

    3. Re:AJAX Going Away? Oh noes! by MBCook · · Score: 3, Insightful

      Java Script isn't so bad! Sure I had to patch browsers and write a different version for each one. I made my own library and blah blah blah.

      Sounds bad to me. Javascript is very annoying, mostly due to the incompatibility between browsers, but for other factors as well. I welcome this. And how do you know JavaFX will be so bad when they have only announced it and haven't previewed it? Worst case scenario, it feels like using the Google Web Toolkit but doesn't produce large .js files that you have to include. It isn't going to run the full Java VM and load up support for all the little libraries (OpenGL, sound, etc). It's designed for this, I'm betting it will be rather speedy. It will certainly be up there with Flash.

      This sounds like it is targeting more than just "fetch this list box dynamically" by trying to be a way to make web pages that are currently only realistically implementable by making the entire thing in Flash.

      Also, Javascript may have gained abilities over the years (like OOP), but Java has had it from the start. Java has the ability to do static typing. OOP isn't bolted on. It wasn't an afterthought.

      Note: after reading your post once or twice, I'm having a hard time telling if the whole thing was sarcasm or not

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    4. Re:AJAX Going Away? Oh noes! by diodeus · · Score: 1

      I hope to never to have to program in Java. If it's so great, why am I not already using it?

      Why put another layer on top of javascript and the browser in order to do something javascript and the browser already do well?

      Unless I start letting untrusted people feed javascript into my site, my javascript code is as secure as anything else could be.

    5. Re:AJAX Going Away? Oh noes! by AKAImBatman · · Score: 5, Insightful
      Seems I confused you with my slightly sarcastic tone. "for(var i in object)" is a core part of Javascript and the way it works. That feature (and what it implies) are why it's so simple to fix different browsers to work like one another. If you don't know how to use it, you shouldn't be coding web apps.

      Also, OOP is not bolted on in Javascript. It's been there since nearly the beginning. It's just that 99% of web coders never actually learned how to code Javascript.

      How do you know JavaFX will be so bad when they have only announced it and haven't previewed it?

      I've been a Java programmer for about 11 years. In that time, I've explored the VM and libraries inside-out, upside-down, and sideways. The conclusion I've come to is that Java in the browser is a bad idea. At least in the form of the J2SE. If it had been developed more like a J2ME plugin with access to the DOM, it might have been a decent replacement for Javascript. But it wasn't developed that way, and now I think it's not in a very good position to compete in that space.

      This sounds like it is targeting more than just "fetch this list box dynamically" by trying to be a way to make web pages that are currently only realistically implementable by making the entire thing in Flash.

      You bring me requirements, and I'll show you the magic that modern web technology can perform. And it's only going to get better. My comments about Server Side Events and XMLSocket are meant to mention how much better it's going to get. SSE will effectively obsolete Comet-style requests, resulting in rich server "push" systems that can transmit nearly anything to the client on demand. No need to worry about different XMLHttpRequest implementations, it will all be automatic in the browser. Opera already supports this, and thanks to the magic of Javascript, it's easy to branch to code that makes use of it when available. Wrap it in your libraries, and you're ready. to. ROCK! :)

      Java has the ability to do static typing.

      Which is its strength as a platform, and its weakness as a scripting language. Don't get me wrong, the computer scientist in me wants to go with static typing. I love static typing. It makes all the bad problems go away. But the web coder in me knows that distributed document technology needs something more flexible. Dynamic typing as in Javascript is that flexibility.

      It's slightly out of date, but you might find this article I wrote to be interesting. Web technologies are really accomplishing what Sun envisioned all those years ago.
    6. Re:AJAX Going Away? Oh noes! by DragonWriter · · Score: 1

      I hope to never to have to program in Java. If it's so great, why am I not already using it?


      You don't have to program in Java to use JavaFX Script. Of course, if you want to code logic behind the UI in Java, you can, since it runs on the JVM, but I'd imagine that using it in an applet providing the front end to a web app often wouldn't involve anything other than JavaFX Script on the front end, and whatever you wanted to program your web app in on the backend, whether that's Java or a RESTful RoR webapp serving XML, or whatever else you want.
    7. Re:AJAX Going Away? Oh noes! by billDCat · · Score: 1

      I'll bite.

      First, why are you not already using it? Because you have chosen not to. Bit of a silly question if you ask me.

      Second, similarly to current Java Applets and Flash movies, it does not sit atop of JavaScript, it is side-by-side. You could turn off JavaScript, and as long as you haven't used JavaScript to dynamically embed the <object> and <embed> tags, it will work just fine. As far as JavaScript already doing something well, I would beg to disagree. One of the big advantages of both Java applets and Flash movies (as well as frameworks like Apollo) is that they inherently abstract the browser and platform differences so that application developers can focus on developing the application instead of dealing with browser bugs. Flash actually does a very good job at that abstraction, Java applets less so, but still much better than JavaScript. There is a reason why all sorts of browser abstraction frameworks are being developed for JavaScript.

      Third, if you think that JavaScript code is secure, I have a bridge over the river Kawaii to sell you. While the browser sandbox does a pretty decent job of preventing access to the file system, there are lots of workarounds, and many other ways of using it for attacks other than local file access.

    8. Re:AJAX Going Away? Oh noes! by Aqua+OS+X · · Score: 1

      I would tend to agree that the rant about JS' robustness doesn't hold much water. That said, my big gripe is that we still lack a ubiquitous web medium that can host mature interactive content. All in all, things like CSS and JS have a lot of painful limitations for drawing content in the browser window. This is the issue that Flash, SilverLight, and JavaFX address.

      I'm hoping that the migration toward high PPI displays and scalable vector graphics will really force people to rethink how things are drawn on the web.

      --
      "Things are more moderner than before- bigger, and yet smaller- it's computers-- San Dimas High School football RULES!"
    9. Re:AJAX Going Away? Oh noes! by Curien · · Score: 2, Funny

      If it's so great, why am I not already using it?

      Congratulations are due to you, sir. That is the stupidest comment I've read this month.

      --
      It's always a long day... 86400 doesn't fit into a short.
    10. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      Any one that uses the word "methinks" is an ass.

    11. Re:AJAX Going Away? Oh noes! by Kalriath · · Score: 1

      Thanks to EOLAS, you HAVE to use Javascript to dynamically embed the and tags or you piss the user off with "Click here to activate and use this control" (applies to MSIE and Opera. Firefox kinda makes rude gestures at EOLAS instead)

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    12. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 1, Insightful

      If you don't know how to use it, you shouldn't be coding web apps. How about something more like "if you don't know how to use it, explore these links." The repetitive arrogance throughout your posts on this topic tend to make you look something of an asshat. HTH.
    13. Re:AJAX Going Away? Oh noes! by billDCat · · Score: 1

      Yah, I didn't want to get into that detail. The Eolas fix puts a dependency on using JavaScript to placing the content on the page, but the plug-in content does not rely on JavaScript for post start-up execution.

      That whole Eolas thing was such a pain in you know where.

    14. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      Yeah well, that's the stupidest fucking thing I've heard since I started working for microsoft!

    15. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      I agree with the first reply in general. Specifically, if .js, etc., require a MS in CS, then they suck. Real developers need real tools to get real work done. Developing libraries of work-arounds doesn't qualify; I don't care how smart it makes you look (to some).

    16. Re:AJAX Going Away? Oh noes! by rkhalife · · Score: 1

      Javascript is a great and the cross browser libraries do resolve a lot of issues. Unfortunately, the problem is NOT ONLY javascript incompatibilities. It's how the CSS, the box model and all the other crap is interpreted differently in every browser [Specially when it comes from the Monopolistic Empire Of Evil] - and some of that stuff you can't resolve without annoying hacks. On the other hand if you have one container that everything runs in, that stays the same regardless of the browser it will make life easier, that's why Flash is so successful. I'll be waiting to see who wins this one... Cheers!

    17. Re:AJAX Going Away? Oh noes! by maraist · · Score: 1

      Im actually curious how you think dynamic typing in JS is more advantagreous. Nohing drives me up the wall more than trying to debug JS and finding that I needed to go an extra field level deep for one HTML widget than another. Sure there are API docs, but I cant stand that something so simple to prevent is so glaringly impossible to codify into an intelligent editor. If you use notepad/vi and the same JS functions all day long, then sure opaque types save you some keystrokes. But why not use a heavy weight editor that validates as yo code - and yes, I consider a web page code tat should ideally even have unit tests.

      --
      -Michael
    18. Re:AJAX Going Away? Oh noes! by Lobo42 · · Score: 1, Informative

      JavaScript is a better language than Java. Seriously, it truly is.

    19. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      I love static typing. It makes all the bad problems go away.

      Map m = new HashMap();
      m.put("blah", "foo");

      Donkey d = (Donkey) m.get("blah"); // oh noes!
    20. Re:AJAX Going Away? Oh noes! by ispeters · · Score: 1

      I disagree with the GP that static typing "makes all the bad problems go away", but your example is disingenuous. Java 1.5 introduced generics to solve exactly the problem you so eloquently described. Of course, any dumbass can ignore compiler warnings and use casts wherever they like, but that's an ID10T error not a language problem.

      Ian

    21. Re:AJAX Going Away? Oh noes! by Lobo42 · · Score: 3, Interesting

      Because it lets you abstract easily and quickly. You don't have to worry about what type something is, you can interface with most everything the same way. In Java, this is dealt with by having a huge inheritance tree. If you want high-level behavior for a low-level class, you have to make sure it inherits all the way back up to class x, then write a method that takes the abstract class and operates on it. But half the time this still doesn't work (especially when the primitive types get involved.) So you end up with wrappers and the same object adhering to about 12 different interfaces just to use a *single* function. And don't get me started about how much of a pain it is to pass functions as arguments... In JavaScript, if I receive an object, I can just iterate over it to look at its properties - I don't even need to know what they are. I can construct functions on the fly, pass them in as arguments along with an object (that I just recently constructed, without any class definition), and have that function run on each property of the object. It's one step away from having first-class continuations. The apparent advantage of Java is having strict types - so if something adheres to an interface or abstract class, you just "know" it will have x,y,z and can do m and n. But very often (mostly sloppy programming), this isn't the case, so you have to check for things anyway. And why did you even try to pass in something that wasn't going to work with that function to begin with? In JavaScript, you have the flexibility to just pass it in. If it works, it works, if not - why did you pass it in? Ultimately, you still have to know what you're doing, so compile-time checks aren't really useful for catching more than typos. As far as I'm concerned, Java doesn't even come close to the power of JavaScript. Java likes big, bloated classes that are fixed at compile-time with LongNamesLikeThis. It has most of the drawbacks of C++ with almost none of the benefits. The only thing it has going for it is a huge API, but even that is so slow as to be useless for anything like graphics code. Heck, JavaScript is even more cross-platform than Java - and that's what Java was designed for! (Everything has a browser these days.) AJAX programming is weird, young, unpolished and tricky. But it already has more promise than a Java applet ever will. (Reserving judgement on this new JavaFX or whatever...but not holding my breath.)

    22. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      Map<String> m = new HashMap();
      Fixed it for ya'.
    23. Re:AJAX Going Away? Oh noes! by ispeters · · Score: 2, Insightful

      I love static typing. It makes all the bad problems go away.

      I suppose that maybe you were being facetious or sarcastic, or maybe you were simplifying, but static typing hardly "makes all the bad problems go away". Unfortunately, I don't remember who originally said it, so I can't properly attribute it, but, paraphrasing, "static typing is the compiler doing some cursory testing on your code". To raise your level of certainty that your programme is bug-free, you have to do a lot of testing. If you use a statically-typed language, then the compiler will do some testing for you--it'll tell you that every time you call a function, the arguments you pass are the correct type and the return value is stored in a variable of the correct type. It won't tell you whether or not your code contains a logic error. Passing the wrong object to a function is an error in the programmer's reasoning that is, arguably, akin to the traditional kind of logic error that compilers gleefully use to generate segfaults and buffer overruns. To catch these sorts of things you need unit tests and integration tests and the whole shebang.

      I think, in the typical case of Javascript in the browser, the fundamental problem is the combination of incompatible implementations, the piss-poor development environment, and the apparently widespread belief that you can write Javascript code by cutting and pasting. For anyone interested in improving their Javascript development environment, I recommed the Venkman debugger (or Firebug, but I've never used it) and Selenium. Venkman (and, apparently, its heir, Firebug) provides a real, honest-to-goodness debugger that supports breakpoints, watchpoints, stack traces, etc. Selenium is a tool for running unit tests within all of the major browsers and it can be automated. (In a past life, I had a script that fired up a virtual X server, launched IE through Wine and ran tests on my app through Selenium. I plugged this into cron and had regular reports of the output emailed to me.)

      Ian

    24. Re:AJAX Going Away? Oh noes! by MillionthMonkey · · Score: 1

      AJAX is a stupid name developed for the ole' hype machine (mostly to sell conferences and books, methinks) but the basic web technologies behind it are NOT THAT BAD.

      Oh please. They're not only that bad, they're worse than that. Some look at things as they are and ask why. Some dream of things that never were and ask, why not? A good software engineer sees both and asks what the hell! And a bad one just codes around things as they are, and asks nothing. He's too busy talking about how l33t he is on Slashdot.

      Like a veal calf, you've gotten used to a horrible environment and now you think of it as natural. As in, "of course I need JavaScript to implement an inlined HTTP request." This is not to malign JavaScript, but seriously, why should you need JavaScript to make a simple HTTP request from a browser? Or, why don't you use JavaScript for both types? At least that would make sense! I read your post, and I'm just shaking my head at how needlessly convoluted all this stuff has turned out after we've had more than ten years to fix it. You Wikipedia link is the most painful, disturbing thing I've read this week (aside from an article about veal calves). What's really striking how proud people are of themselves when they manage to hack around this junk. The web is so screwed up that developing hacks around its flaws attracts the attention of investors. Managers have been bursting out of their offices for years demanding web pages that look and feel like the Windows applications they're used to, and no matter how many times you explain what a web page is, they don't get it. Why should they have to? They want something that behaves like an application. They're being handed a document. You or I may be clever enough to get a document to behave like an application, but that doesn't make it a smart thing to want to do. We're taking what used to be documents and turning them into programs to send to another program that knows it's a program but pretends to render it as an inside-out document that can't be rendered without embedded application code inside interpreted by a runtime system with a security model designed 12 years ago.

      This morning I logged into my bank account to check my balance. Once I logged in, my bank gave me a "cookie". On subsequent requests I would tell the bank what the cookie contents were, and that's how they knew who I was. Cookies were invented in ten minutes a decade ago to circumvent HTTP statelessness, to support a "shopping cart" (a novel concept back then). Now we have cookie theft, cross-site cookies, cookie poisoning, and cookie tracking. With JavaScript we have cross site scripting and prototype attacks. There's no reason for things to be this messed up, now that we've had TEN YEARS to realize our mistakes. HTML makes a decent document framework, but it's a horrible one in which to deliver a client side application.Unfortunately we're stuck with HTTP and a huge install base of old browsers, designed for viewing documents, not really for deploying applications. Ajax was developed to short circuit a design principle of the system in which it runs. It turns HTTP statelessness on its head just like cookies did, but it is even more stateful. That's why people are so impressed with it. Something like Ajax isn't the problem- it's the symptom of a problem. When people are impressed by a hack, that's a big red flag. People coming on Slashdot and bragging about how they got it to work is a big red flag. It's all one big red flag, a piece of technology designed to circumvent something going on at a deeper older layer. We didn't design tools that really fit our current needs. Now that a hack has made it possible to further abuse our crappy decaying infrastructure by violating the assumptions underlying its entire obsoleted interaction model, everyone has to learn the hack. At the same time we can't abandon all this old stuff because of the old browsers out there that can't render the new stuff. How screwed up is that?

      HTTP

    25. Re:AJAX Going Away? Oh noes! by mccoma · · Score: 1
      Prototype-based inheritance is just as valid OOP as Class-based. It is really a shame people don't try to embrace new ways of thinking. NewtonScript was a particularly good prototype-based language, Self and Io are also very cool.

      As to the static versus dynamic, when you look at what things like Strongtalk and most modern Lisps show about performance, some of the arguments fall mighty flat. Also, I find it instructive that the Java version of the Cocoa framework had to be dropped because of the problems in expressing the framework in a static language like Java. The inclusion of Generics (and the Java version of the implementation) tend to make me think there are problems there.

    26. Re:AJAX Going Away? Oh noes! by AKAImBatman · · Score: 3, Interesting

      A good software engineer sees both and asks what the hell! And a bad one just codes around things as they are, and asks nothing. He's too busy talking about how l33t he is on Slashdot.

      And the experienced engineer knows that cross-platform problems follow you everywhere. At some point you need to stop whining and get the work done. If we simply complained about the platform technologies all the time, there would be no POSIX programs, no Win32 programs, and a much smaller pool of good Java programs. Specs are specs, and they tend to get interpreted differently. As an experienced engineer you should have long ago learned how to normalize these differences rather than simply throw up your hands in frustration.

      This is not to malign JavaScript, but seriously, why should you need JavaScript to make a simple HTTP request from a browser?

      How does one answer this question? Of course you don't need Javascript for a "simple HTTP request". You need Javascript to dynamically modify the DOM, restyle the layout, respond to user input, and manage a less-than-simple HTTP request all at the same time. And like the "vealed calf" that I supposedly am, I've been finding that this design has many superior aspects when compared to a Java or Flash program. (Even though I'm actually supporting Flash with an AS2.0 version of the same APIs.)

      Here's something for you to ponder. I am creating these APIs because the target environment does not support Java. It supports Flash and it supports advanced Javascripting. So like the "vealed calf", I am targeting the platform out of necessity. And you know what I've found? It's not actually as bad as everyone is making it out to be. The pitfalls are well documented and/or testable. Mostly minor cross-platform issues that will go away with each browser release. So it becomes quite easy to patch minor holes in the interim.

      [lots of blah, blah, blah about security]

      You know what we didn't have 10 years ago? An internet on which the vast majority of the world's population performed financial transactions. An internet that targeted your average consumer rather than business folk or hackers. An internet through which financial gain could be obtained by disrupting the normal flow of traffic.

      You may be too young to remember when "Client/Server" was the latest hotness, but I remember it well. And I can tell you right now that we would have been no safer with those programs than we are with some of the moronic coders we have today. I just loved it when it was possible to telnet into a port and start executing commands before passing login credentials, because no one had ever tested the no-credential situation. All their code assumed that things happened in a certain order without ever verifying the case.

      If you want to point a finger at the security problems of the web, then how about starting with yourself? Specifically, you and every programmer who writes software for the web. Computers Software is an engineering discipline just like any other. If you fail to apply proper engineering principles, you will fail. Those principles don't get learned overnight. They take years to cultivate and grow. Unfortunately, the industry wants fast answers and cheap programmers. They are rarely willing to pay for older programmers with strong skills to head up teams and ensure that the engineering is done right. Instead, they first try junior programmers, then outsourcing, then offshoring. All in an attempt to make a process cheaper by cutting corners.

      You accuse me of trying to show off my "l33t"ness (whatever the hell that is). Well, how's this for "l33t"ness: A recent security advisory revealed that JSON objects were vulnerable to a cross-scripting exploit by the very nature of being serialized Javascript objects. It was mentioned that it was the first exploit that could target only AJAX-enabled applications. Well, I use JSON. And you know what I found when

    27. Re:AJAX Going Away? Oh noes! by AKAImBatman · · Score: 1

      I suppose that maybe you were being facetious or sarcastic, or maybe you were simplifying, but static typing hardly "makes all the bad problems go away".

      Incredibly simplifying. I should have thought it was clear from the poor grammar I used? No matter. The "bad problems" I was referring to are the issues of properly securing an interface against accidental abuse, documenting how an interface should be correctly used, and generally catching errors in the compiler whenever possible. Such tight control over code is necessary in a language like Java where code reuse in the form of libraries is a common practice.

      Static typing can't ensure that the library gets used correctly, but it can ensure that the library only gets expected inputs. Which means that a library author can free his own code from any potential bugs caused by input that's sorta-kinda ok some of the time.

      Strings recast as integers is one case of this that gives me nightmares. That stuff needs to be checked the moment it's read into the system, not ignored because it's more convenient to pass it through via casting rules. Unfortunately, many programmers (even those who should know better and have the best of intentions) won't take the time to implement such checks. Meaning that you're better off forcing their hand with the compiler rather than trying to support someone who just wrote about 50,000 lines of gnarled code that depends on your library and "suddenly broke". (Call me crazy, but I like knowing a bit more about the problem then, "it broke". I hate bug reports like that.)

      So there you have it. The long version of how static typing "makes all the bad problems go away." Otherwise, nice rant. ;-)
    28. Re:AJAX Going Away? Oh noes! by Hooya · · Score: 1

      server side "push" seems to be a recurring theme. pointcast in (around) '99 tried it. couldn't scale very well. the beauty of client side HTTP is the statelessness. which also happens to be a pain in the a**. anyhow, i somehow don't think a server side push will work out except for niche application for a limited number of users.

    29. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      Anyone who thinks that "anyone" meaning "some person" is two words needs a swift rap with the cluebat.

    30. Re:AJAX Going Away? Oh noes! by AKAImBatman · · Score: 1

      When I say server-side push, I mean in the context of AJAX-type applications. What is Comet if not an attempt to perform server-side pushes of data? Such a design is used day-in and day-out by Javascript application that require an immediate response to server-side events.

      Take GMail as an example. You know how it embeds a GTalk widget, right? How does the browser know when an IM comes in? Or when a buddy logs in? Or when a status changes? Obviously, a connection to the server needs to be maintained in order to get this information in a timely matter. That's what Comet* communications solves. Server-side Events solve that problem more elegently by providing a standard mechanism for long-running connections. No more up and down polling by Javascript code. It all gets handled automatically. To that end, SSE addresses a real-world need that exists today.

      * There is actually another architecture that I somewhat prefer to Comet, but its portability is questionable. Basically, you can use a hidden IFrame to maintain an open communications channel. When an event needs to be sent by the server, a bit of Javascript code is flushed down the pipe to activate that event in the parent frame. The design works really well, but as I said; it's portability is questionable. It's also a PITA to implement on the browser side.

    31. Re:AJAX Going Away? Oh noes! by mabinogi · · Score: 3, Insightful

      Javascript has always been object oriented - it was influenced by Self, which is effectively a classless implementation of Smalltalk. Just because you don't understand Javascript, doesn't mean it's not object oriented.

      Javascript is a pretty awesome language once you strip out all the web browser DOM stuff. I've used it as an embedded scripting language in my own applications and was very surprised by its capabilities.

      --
      Advanced users are users too!
    32. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      "Also, Javascript may have gained abilities over the years (like OOP), but Java has had it from the start. "

      You have no idea what you're talking about, do you?

    33. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0
      Actually, anon, that's

      Map<String> m = new HashMap<String>();
      You don't want to work with raw types.

      Fixed it for ya'. :)
    34. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      Static type checking can be exploited to prove a great deal of things about what your (or someone else's) code can and cannot do. This requires a language with a non-trivial type system (e.g. Hindley-Milner plus extensions) and a type notation which supports the programmer better than what current mainstream languages do. Though it isn't strictly necessary I would also argue that type inference is necessary from a purely practical PoV.

      The weakness of dynamic type checking (and testing in general) is that it can never be used to prove the absence of errors in a piece of code. However, static type checking is not a substitute for testing.

    35. Re:AJAX Going Away? Oh noes! by Raenex · · Score: 1
      Actually, it's:

      Map<String, String> m = new HashMap<String, String>();
      All you anons forgot that Map takes two types.
    36. Re:AJAX Going Away? Oh noes! by DerWulf · · Score: 1

      Javascript isn't a bad language (actually, quite the oposite). The problem is that the browsers have different DOM implementations so object specific functions might not be available on all plattforms or behave differently. And those problems you run across anytime you try to do something beyond scrolling text in the status bar. But the DHTML/Javascript issues go futher than mere incompatibility. Sure, a lot has been bolted on to make static html dynamic and to enable statefulness for webapplications but seriously, it's becoming a nightmare. Just look at the source of some complex webapp and tell me honestly if you think that /anyone/ should be subjected to such horros. Plus, the tool support for HTML AND JS is a complete joke.

      I have high hopes for JavaFX. Hopefully it will surpase Flash in functionality AND be free. The added benefit is that you then can implement webapps completely in Java within a single toolsuite (go eclipse!).

      --

      ___
      No power in the 'verse can stop me
    37. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      server side "push" seems to be a recurring theme. pointcast in (around) '99 tried it. couldn't scale very well.

      Doesn't scale very well using standard tech from '99. Trying to run your push server as a standard web application is going to cause problems due to poor threading models. Most solutions today use a standalone push daemon. Some interesting work is going on in this area with Erlang and Twisted Python, also there is a new Apache 2.2 MPM that is designed to handle these type of connections better.

    38. Re:AJAX Going Away? Oh noes! by ksheff · · Score: 1

      got a good reference to how to really code in Javascript so one no longer be a part of that 99%?

      --
      the good ground has been paved over by suicidal maniacs
    39. Re:AJAX Going Away? Oh noes! by AKAImBatman · · Score: 2, Informative

      Start here:

      http://developer.mozilla.org/en/docs/Core_JavaScri pt_1.5_Guide

      (Yes, those are the Netscape docs from 10 years ago. No one read them then, either.)

      If you're brave, I also recommend the ECMA specs:

      http://www.ecma-international.org/publications/sta ndards/Ecma-262.htm

      All the Web APIs you need to go with that can be found at the source:

      http://www.w3.org/

    40. Re:AJAX Going Away? Oh noes! by Anonymous Coward · · Score: 0

      Very well said. I feel your pain. Damnit, I've got enough pain of my own, take it back!

  5. Proprietary by Anonymous Coward · · Score: 2, Insightful

    "Proprietary solutions and vendor lock-in are also dead ends"

    Or... not.

    Using Java solutions over .NET because you have a stick up your ass is a little silly.

    1. Re:Proprietary by kripkenstein · · Score: 1

      "Proprietary solutions and vendor lock-in are also dead ends"
      Or... not.
      Using Java solutions over .NET because you have a stick up your ass is a little silly.
      That's all good and well until you get shafted by Microsoft. Somewhere along the line you may want to have your app work/be served by a different platform. With .Net, that may be impossible, and you may end up (1) paying more than you should while (2) reaching fewer potential customers.
  6. what excellent astroturf by Anonymous Coward · · Score: 0

    I'm not usually one to point this sort of thing out, but what amazing astroturf. I can almost hear the marketing person coming over to an engineer's desk saying "Help me add a geek word to this so it rings true." ... "Grock, eh? How do you spell that?"

  7. What? by taupin · · Score: 0

    a combination [of] Applet, Flash, Javascript, and AJAX So... you're going to kill AJAX... with AJAX? And it promises security, while using Flash. Am I missing something here?
  8. Hmm by El+Lobo · · Score: 1
    I really hate when people refer to Active-X as "viral" or something similar... Active-X is a technology like any other, which unfortunatly has been abused and misused in any kind of way.

    OTOH Java is really known to be a very "heavy" and slow technology... Leave politics aside, Open Source or not Open Source, let the best player win. I hope is not Java anyway.

    --
    It's time to realise that Abble's products are the biggest abomination these days. Just say NO to the dumb iAbble way!!
    1. Re:Hmm by AKAImBatman · · Score: 5, Insightful

      I really hate when people refer to Active-X as "viral" or something similar... Active-X is a technology like any other

      Actually, ActiveX is a patented Microsoft Security Hole(TM) big enough to drive a Mack Truck through. Effectively, Microsoft looked at Java Applets and said, "The biggest problem with it is that it doesn't access Windows APIs and has all that security BS. We can do better." Next thing you know, Microsoft "partners" are showing how you can access DirectDraw and Direct3D to make ActiveX components that were WAY more impressive than the simplistic animations that Java was capable of. Of course, the security implications hit Microsoft less than a year later as Malware started exploiting the system for all kinds of nefarious purposes.

      Microsoft kinda-sorta shuffled it off into other areas after that. Now they're back with a vengence. Silverlight will be everything that ActiveX was going to be, but BETTER! Can you feel the excitement? :-/
    2. Re:Hmm by Jason+Hood · · Score: 1, Insightful

      Okay, what exactly does slow mean? In many cases Java is actually faster than similar implementation is lower languages such as C. Specifically in memory intensive applications. google is your friend.

      If you mean slow by startup time on low speed platforms, Java does lag behind a bit. However also announced today, is that sun is working on a micro-kernel for the JVM that will only load and install classes that are used by the runtime. They had some MB numbers, many common java apps had their initial memory footprint cut to 1/10th. Once this happens, JavaFX will load faster than flash, open source, be more portable and easier to code against. It will be used natively on phones, desktops and PDAs.

      So I would think if you are for open software and are a developer, you certainly would want JavaFX to take off. Given its scope there is no current alternative anyway. Unless you are JavaOne (like the me) and seen the demos and spoken with the actual developers, it would be very hard to understand what JavaFX really is. Comparing it to AJAX is not accurate. Its an optional wrapper for swing that works in rich clients and flash like applets. FX apps might still employ AJAX depending on what you want to do.

      Sorry, had to quash the disinformation.

      --
      Are you intolerant of intolerant people?
    3. Re:Hmm by niteblade · · Score: 1

      Based on the pathetic JavaFX demos Sun has up, Silverlight has nothing to worry about. Silverlight feels MUCH faster and the effects shown seem much more impressive (maybe Sun just didn't allocate enough resources to their demo). Also, from the blurb I read JFX seems to be a wrapper around Swing - Is Swing capable of Flash-type smooth animations? -NB

    4. Re:Hmm by dedazo · · Score: 2, Interesting

      Effectively, Microsoft looked at Java Applets and said, "The biggest problem with it is that it doesn't access Windows APIs and has all that security BS. We can do better."

      No, they looked at Java and said "holy mother of god, this crap is slow".

      Of course, the security implications hit Microsoft less than a year later as Malware started exploiting the system for all kinds of nefarious purposes.

      Oh, without question. The problem with ActiveX is that it forces the user to implicitly trust a non-sandboxed piece of native executable downloaded from an untrusted network.

      On the other hand, if you're OK with that (or just careful) then ActiveX is great. Otherwise it's not very appealing. Though it has made things like platform- and codec-agnostic streaming audio and video possible that would have probably been impossible with Java or anything else.

      Who knows, if Silverlight does run on more than one platform it just might be the next big thing. It all depends on whether or not it's designed with security in mind rather than just snazzy features.

      --
      Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
    5. Re:Hmm by einhverfr · · Score: 1

      ActiveX makes sense for internal business applications run on an intranet on a large number of Windows-only applications. The problem is that as you move from this, you get problems.

      For example, Internet Explorer allows for scripting of third party ActiveX controls provided they don't have the Evil Bit set (i.e. are "Marked safe") and are digitally signed (so you know who is vouching for the Evil Bit not being applicable). The problem is that this does not plan for failure and so when a vunerability exists in an activeX control, it is not possible to guarantee security.

      Again, not a huge problem if you only use it for internal non-redistributed business applications on an intranet, but a big issue as soon as you start trusting Microsoft, Adobe, or anyone else.

      Java for web applets is not a bad thing. It is just not a great thing for web pages.

      --

      LedgerSMB: Open source Accounting/ERP
    6. Re:Hmm by dedazo · · Score: 1
      Yep, back in the day I saw a lot of interesting things done with ActiveX, but always behind corporate walls. It's a conundrum that as a technology that was very useful for many things, yet is supposed to run on a platform-agnostic environment (the browser), and so obviously tied to a single platform (Windows). It was also difficult to do correctly - the promise of ActiveX from VB really never materialized so most of the time if you wanted to do it right you'd do it in C++/ATL, which is not exactly RAD goodness.

      ActiveX is an interesting technology that unfortunately was developed with that "we trust everyone" mindset that existed within Microsoft at the time. Eventually this of course came back to bite them.

      I think AJAX has signaled the end of usefulness for ActiveX. Many of the simpler things people used to rely on ActiveX for (such as showing a dropdown calendar and so on), are simple to do with prepackaged JavaScript libraries.

      --
      Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
    7. Re:Hmm by einhverfr · · Score: 1

      Okay, what exactly does slow mean? In many cases Java is actually faster than similar implementation is lower languages such as C. Specifically in memory intensive applications. google is your friend.

      Really?

      I have watched so many Java performance-intensive apps suck badly even over the last couple years that I would suggest that cases where it is better are micro-cases and probably never translate into real-world applications. That is the problem with benchmarks.

      Included in the areas where Java is unreasonably slow and memory intensive is anything involving string or text manipulation (including anything involving XML).

      --

      LedgerSMB: Open source Accounting/ERP
    8. Re:Hmm by Anonymous Coward · · Score: 0

      Okay, what exactly does slow mean? In many cases Java is actually faster than similar implementation is lower languages such as C. Specifically in memory intensive applications. google is your friend.
      He is just a Java troll, many sun-brain washed guys actually believe that shit.
    9. Re:Hmm by mad.frog · · Score: 1

      Once this happens, JavaFX will load faster than flash, open source, be more portable and easier to code against. It will be used natively on phones, desktops and PDAs.

      And if I had wheels on my feet, I'd be a bicycle.

      When this is actually working (and available on, oh, 95%+ of web-browsing systems), let us know.

    10. Re:Hmm by TheNetAvenger · · Score: 2, Informative

      Microsoft kinda-sorta shuffled it off into other areas after that. Now they're back with a vengence. Silverlight will be everything that ActiveX was going to be, but BETTER! Can you feel the excitement?

      A) Silverlight is nothing like ActiveX. In function, security, etc. The main thing of silverlight is a more feature rich version of vector animation technologies with the ability to push higher quality video in a very easy to program manner that also directly works with current server and browser side scripting standards. It is what SVG should have been, but SVG couldn't see past basic image rendering. Flash is overkill, locked to its programming model, and in the end has far less features than SilverLight.

      From what I personally know of Silverlight, MS waited for other technologies to fill this gap, and 5 years later it never happened, so they decided to use what they learned from developing WPF, .NET and security surrounding both to bring this type of technology to the Web.

      B) Yes ActiveX sucks, and should have been limited to a Intranet or corporate technology only. MS was stupid not to have seen the security risks of distributing code in this manner.

      C) MS has killed ActiveX in case others haven't noticed. It is hell to even get a control to run anymore because of the restrictions MS has added themselves.

      D) If you want to talk about MS's ActiveX replacement, then you would be talking about .NET 3.0 and WPF Web applications. Unlike ActiveX they run in two sandboxes of security, and don't have access or security to do anything more than an HTML page can.

      Go look up the British Library for an example of a WPF Web application, it is NOT SilverLight.

    11. Re:Hmm by Anonymous Coward · · Score: 0

      A) Silverlight is nothing like ActiveX. In function, security, etc.

      D) If you want to talk about MS's ActiveX replacement, then you would be talking about .NET 3.0 and WPF Web applications.

      You do know that Silverlight is just a fancy name for WPF/E, right? Therefore Silverlight is the replacement for ActiveX. Congratulations, you've just proven someone else's point.
    12. Re:Hmm by TheNetAvenger · · Score: 1

      You do know that Silverlight is just a fancy name for WPF/E, right? Therefore Silverlight is the replacement for ActiveX. Congratulations, you've just proven someone else's point.


      No I wouldn't know that, having been in the WPF/E beta since last summer. (Seriously, the quality of responses on SlashDot are to the point of needing an IQ check.)

      WPF and WPF/E
      They are NOT THE FREAKING SAME THING, hence the /E...

      WPF Web apps are FULL WPF applications that ONLY run on Windows XP and Windows Vista, and they support the FULL WPF API, but have a distiction of being boxed inside the full .Net and also boxed inside IE protected mode on Vista...

      Silverlight is a cross browser subset running on a stripped down .net framework that is compact, only does 2D, has little control support, and is designed for display and animating graphics and playing HD video more than full application development.

      Maybe you can guess why the WPF/.NET 3.0 framework is 30-90MBs in size and the WPF/E(Silverlight) framework is under 2MB? Maybe because they only share the same programming concepts, but just maybe are not the same? They don't even run on the same framework code, even if you have Vista, you still have to install WPF/E to run Silverlight apps. Get it yet?

      Congratulations, you've just proven you are the most clueless people to post in this thread...

      (Is there anyone else out there that doesn't get the difference between WPF and WPF/E? If so, go to www.microsoft.com or Wikipedia before posting.)

    13. Re:Hmm by Anonymous Coward · · Score: 0

      Once this happens, JavaFX will load faster than flash, open source, be more portable and easier to code against. It will be used natively on phones, desktops and PDAs.

      Java itself never delivered on most of this stuff. Why should we believe it now? I wouldn't hold my breath on the idea that anything coming out of Sun will be faster than Flash. This is a tall, tall order that Sun can't deliver on.

      God forbid that this slow, hulking and titanic framework will eventually run on every device.

    14. Re:Hmm by Anonymous Coward · · Score: 0

      It seems that all you've proven is that you pop plenty of blood vessels when you get mad. WPF/E is a stripped down version, you say? Shocker. Yet you haven't actually proven that WPF/E is any less capable in a replacement role for ActiveX web controls. Unless you're saying that a 30-90MB size difference == TeH BETTUR!

    15. Re:Hmm by TheNetAvenger · · Score: 1

      Yet you haven't actually proven that WPF/E is any less capable in a replacement role for ActiveX web controls

      Sorry, I assumed people were smart enough to discern a 'display plugin' from an unconstrained plugin technology running native code on the OS. Next time I will assume this is the 'slow class'...

  9. End of Ajax.... by BuR4N · · Score: 4, Insightful

    That would be great, but in reality, when people invest enough money into something and there is ubiquitous support for it, it tend to stick and migration to something new drags on forever.

    And there is so much big corporate inter politics involved with each side rallying their alternatives that it looks like we are stuck with the lowest common denominator, that beeing for the moment javascript.

    --
    http://www.intellipool.se/ - Intellipool Network Monitor
  10. This begs the question... by drinkypoo · · Score: 2, Interesting

    Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs.

    This begs the question, will anything built on Java achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 "needs"? It is well-known that Java is a "write once, debug everywhere" solution. If it is running on the server side, It also begs the question, does it need all that? What does Java provide that other languages don't? It looks like it has a client-side component. FTFA, "One of the knocks on AJAX applications, aside from browser compatibility, is that it requires a large amount of JavaScript to be sent over the wire; that script could have something malicious embedded in it. JavaFX eliminates that need by using the locally installed Java SE files." Well well well, FUD FUD FUD. Yes, it could have something malicious embedded in it. And there could be something malicious in your Java code, too. Make a point, please?

    Also, I'm interested in having this assertion backed up somehow. Javascript is an excellent language even if some implementations are somewhat lacking. In general the use of cross-platform toolkits seems to be accelerating Web 2.0 development for many people. Is it really true that you can't do the job with Javascript?

    I'd just like to leave with this C&P and short commentary:

    "This really is write once and run anywhere," he said, reiterating a 12-year-old slogan for Java. The long-range plan is to make it so applications can be written to run on all platforms." Yes, that was Java's long-range plan as well. Note that so far, it has not succeeded.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:This begs the question... by vertigoCiel · · Score: 1

      No, it doesn't beg the question, it merely raises it. "Begging the question" refers to a Catch-22-esque incident of circular reasoning, not a logical connection to a further inquiry.

    2. Re:This begs the question... by Anonymous Coward · · Score: 0

      It is well-known that Java is a "write once, debug everywhere" solution. It is "well known" only for those that never used Java at all. I develop on a Windows machine and my applications run on Unix and Linux. The same code, no difference, and I never had any problem at all.

      Java is the most cross platform platform there is, writing applications that run on many machines is easy.
    3. Re:This begs the question... by Anonymous Coward · · Score: 0

      Living languages change. Sometimes a lot. For anything but very formal writing, it's perfectly acceptable to use "begging the question" to mean "invites the question". Did the OP's use of the phrase really confuse you?

      For a good example of a big change, see how the meaning of the word "nice" has changed over the past 500 years.

      ac

    4. Re:This begs the question... by try_anything · · Score: 4, Insightful

      It is well-known that Java is a "write once, debug everywhere" solution.
      Funny, I worked in a Java shop with dozens of programmers where nobody developed on the deployment platform. We deployed to Solaris, but we developed, tested, debugged, etc. on Windows and Linux. In most cases, new code never ran on Solaris until it was sent to QA. When a bug was found on Solaris, we reproduced it and debugged it under Windows. This never caused any problems, nor do I recall tests ever passing under Windows and failing under Solaris, or vice-versa. This was in 2000-2002.
    5. Re:This begs the question... by Tim+Browse · · Score: 1

      Nice.

    6. Re:This begs the question... by $1uck · · Score: 1

      "This really is write once and run anywhere," he said, reiterating a 12-year-old slogan for Java. The long-range plan is to make it so applications can be written to run on all platforms." Yes, that was Java's long-range plan as well. Note that so far, it has not succeeded. You and others keep saying that... yet I at every job I've had we've developed/run our apps under windows and then deployed to linux servers using the same source and compiled byte code. I've yet to see it not succeed. Unless you're being disingenuous and saying its not successful b/c it doesn't run on a dead badger or some such thing.

  11. Another Flavor of Java? by WrongSizeGlass · · Score: 4, Informative
    Here's the JavaFX page and their FAQ. Lots of polish but light on real information.

    Also from the site:

    Like all of Java, JavaFX Script will be available via the GPL license.
    1. Re:Another Flavor of Java? by baldass_newbie · · Score: 2, Funny

      How pissed are they that 'JavaScript' was already taken?
      I bet they walk the halls in the JavaFX Script dev area muttering about 'ECMAScript'.
      Bitter bastards, I'm sure.

      --
      The opposite of progress is congress
    2. Re:Another Flavor of Java? by dlbornke · · Score: 3, Informative
    3. Re:Another Flavor of Java? by Dalroth · · Score: 2, Informative

      I go to the demos page and click on a link and my browser (Firefox 2.0 on OS X/Intel) tries to download a file with a .jnlp extension. I don't particularly know what that file is, nor do I particularly care. I see no instructions on that page how to resolve this. I get no indication what I have to do with my browser to see these demos. How is my Mother supposed to do this?

      Honestly, if this is how well this works, Sun STILL has their head up their collective asses when it comes to Java on the web. At least when I try to open a flash based web site and flash isn't installed I get redirected to a page that tells me how to install flash or that my OS isn't supported.

      C'mon, is it really that hard??

      Bryan

    4. Re:Another Flavor of Java? by cortana · · Score: 1
      I guess you did not notice the text above the demo applications saying,

      Note: Requires Java Runtime Environment (JRE) 1.5 or higher.
    5. Re:Another Flavor of Java? by Anonymous Coward · · Score: 0

      Good old Java... It took about 35 seconds for the demos to start, Swing still looks absolutely horrible on Linux and the fonts are atrocious. This is with Java 6.

    6. Re:Another Flavor of Java? by Dalroth · · Score: 1, Informative

      Oh really?

      java -version
      java version "1.5.0_07"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
      Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

      My point is still valid.

      Bryan

    7. Re:Another Flavor of Java? by Anonymous Coward · · Score: 0

      JNLP stands for Java Web Start. OK, obviously JNLP doesn't stand for that but that's what the file is, it's a Java Web Start application metadata file thing.

      In short, it allows you to "easily" launch a Java application on your system, bypassing all the security that Java applets theoretically provide by running the Java code directly. It's sort of like sending a JAR (Java ARchive) but much more complicated and harder to use.

      (Where does it save the code it downloads? How can you run it again? It's all nicely hidden and made unnecessarily difficult. Under Windows, it's done, and I'm not making this up, this is with the latest version of Java, by going to the Control Panel, Java icon, General tab, and the View button in the Temporary Internet Files section. This allows you to rerun cached applications. Brillant!)

      It also means you have to be running Windows, since Java Web Start doesn't work in other OSes. (Apparently it's supposed to, but I've never seen it work outside Windows. It most certainly does NOT work under Linux.)

      Anyhow, having run the demos, I can now conclusively say that this is a simply a slower version of Flash, with less features and larger downloads. Good luck with that, Sun.

    8. Re:Another Flavor of Java? by Anonymous Coward · · Score: 0

      That's odd, I'm running Suse 10.1/Firefox 2 and the web start demos on the JavaFx page work just fine. Make sure the Java plugin is linked into your browser plugins directory and .jnlp files are associated with path to JRE/javaws/javaws, one or both of these steps makes it work OK, I have not experimented to see if both are required.

    9. Re:Another Flavor of Java? by MostAwesomeDude · · Score: 1

      Oh, you're on Mac OS X. Check for "javaws" in your path. Java Web Start is a system for broadcasting applications to clients. On Windows it's automatic; on Mac OS X and Linux, you will have to use "javaws file.jnlp".

      --
      ~ C.
    10. Re:Another Flavor of Java? by cortana · · Score: 1

      Well then it's obviously *not* installed, since part of the installation means that your system would be set up to handle JNLP files.

    11. Re:Another Flavor of Java? by AstroPup · · Score: 1

      It also means you have to be running Windows, since Java Web Start doesn't work in other OSes. (Apparently it's supposed to, but I've never seen it work outside Windows. It most certainly does NOT work under Linux.)

      We're using Java Web Start successfully on Windows, OSX, various Linux boxes and Solaris without any problems.

    12. Re:Another Flavor of Java? by dwarfking · · Score: 1

      Stands for Java Network Launch Protocol, and as others point out it runs on any platforms that have Java installed and the plugin connected to the browser.

    13. Re:Another Flavor of Java? by Anonymous Coward · · Score: 0

      As suspicious as I am of all things Java, that's not necessarily a failure of JavaFX. As any Mac user will tell you, Firefox isn't the most Mac-like browser out there.

      If you try with Safari, for example, it downloads the JNLP file, asks you one question (whether you trust this program), and then launches it.

      If you want to stick with browsers like Firefox that don't know that a JNLP file is a program (or don't want to open it), all you need to do is double-click it once it's done downloading.

      Your mother would actually be able to use it just fine, I suspect, because (a) she'd probably be using the Mac's built-in browser, and (b) she wouldn't try to analyze what the filename extension means. (If users tried to do that for every webpage they visited, they'd never get anywhere.)

    14. Re:Another Flavor of Java? by Anonymous Coward · · Score: 0

      I have to agree the user experience sucks. I have java installed and in firefox still asks me what to do with the file. I can run it and then i get a lousy jar loading screen. This is even more annoying than an all flash web site.

    15. Re:Another Flavor of Java? by Anonymous Coward · · Score: 0

      Same here - Firefox 2.0 on Ubuntu with "Java(TM) Plug-in 1.6.0_01-b06"
      It says I have chosen to download a .jnlp file - open with firefox or save to disk. Choosing to open with FF gets a second (3rd, 4th...) identical prompt.

      I was hoping to be impressed by the demos. No such luck.

    16. Re:Another Flavor of Java? by rmerry72 · · Score: 1

      C'mon, is it really that hard??

      Apparantly for you to read it is. JNLP is the Java WebStart extension which is automatically installed by the JRE, which you should note was mentioned as a requirement on the page. And in every comment on this thread.

      Perhaps Java is too complicated for folk such as yourself. But then, I guessing anything more complicated then fire and stone tools are as well. It does require you to read a sentence every now and then and it allows you too make decisions on how you'd like to use it. Nice and friendly the way it leaves you in control of your computer instead of just randomly downloading everything it can so that the little Flash demo works.

      Java is not for the masses, and neither are computers in general. Unfortunately, Sun has to believe otherwise or it dies a commercial death. Don't you love capitalism.

      --
      We do not inherit the Earth from our parents. We borrow it from our children.
  12. what about gwt? by larry+bagina · · Score: 1

    The google web toolkit (which google doesn't even use, but whatever) already lets you program in java, which is converted to javascript. This makes it a whole lot simpler (and accessible) than requiring javascript, java, and flash. Even if you think it's a dumb idea or impractical, it's worth browsing the svn repository to see how it's accomplished.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

    1. Re:what about gwt? by aled · · Score: 1

      But ask yourself: can you do space invaders in GWT? It doesn't seem that GWT is an alternative to Flash like JavaFx or Silverlight. It's comparing pears and cats.

      --

      "I think this line is mostly filler"
    2. Re:what about gwt? by hpoul · · Score: 1

      i think you can .. not using (only) the bundled libraries, but since it's very easy to write "native" javascript libraries.. there are a couple of additional libraries which allow you to .. like http://gwt.components.googlepages.com/canvas - or see http://roberthanson.blogspot.com/2006/06/coding-sv g-with-gwt.html for using SVG

      and personally .. i think GWT is great.. you have the advantages of java (simplicity, statically typed language) with compatibility with all javascript-ready browsers (ie. >99% of all browsers) without the overhead of any JVM (on the client side) ... and .. it is very very simple to extend.. and very clean even when you need to write native javascript once in a while.. because you would simply hide it behind some java method call ..

      --
      Find me at http://herbert.poul.at
    3. Re:what about gwt? by larry+bagina · · Score: 1

      You probably could. I seem to recall a tetris game made for the wii/opera web browser, using the canvas api. GWT and javascript let you have arrays, monitor keydown events, have timers, etc. Opera, FF, and Safari support the canvas api for drawing (like flash). Or the graphics could be done with positioned html elements. Flash still wins out for audio/video.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

  13. Umm ?? wait by Assassin_for_Atari · · Score: 1
    "Internetnews is reporting on Sun's introduction of JavaFX at JavaOne today. Looks like a combination Applet, Flash, Javascript, and AJAX with a friendly programming interface. Does this really spell the end of AJAX? I sincerely hope so. Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs.

    Umm....?? eehh....so its a combination of Applet, flash, JAVASCRIPT and AJAX....then you say Nothing built on Javascript is worth its 2 cents in materials. You sir, give me brain worms.

    1. Re:Umm ?? wait by WrongSizeGlass · · Score: 1

      You sir, give me brain worms. Now, now ... I'm sure he didn't mean to. It must be that he has brain worms of his own and that they're highly contagious ... perhaps you can simply catch them by reading his posts.
  14. Deployment still unresolved, probably by JochenBedersdorfer · · Score: 1

    Yesterday I installed firefox on a new machine. I went to a website which required Flash 9. Since I didn't have this plugin, I simply clicked on "Install plugin" or whatever and within seconds(!) I had flash installed and could watch the page without any other hassles. No braindead installer, no ridicously long loading times, just slick and smooth, THIS is what Sun needs to accomplish: A no-pain, mind-numbing simple and unobstrusive way to install a minimal, blazing fast VM on the client. The rest is just icing on the cake.

    1. Re:Deployment still unresolved, probably by Anonymous Coward · · Score: 0

      Well, hopefully deployment of this means that Sun and Adobe will be working on 64-bit versions of their plugins so that those of us who bothered to upgrade recently can take advantage of all this wonderful junk.

    2. Re:Deployment still unresolved, probably by helzerr · · Score: 1

      But then, how is Sun supposed to ask stupid questions such as if I'd like to install the Google toolbar.

      Since apparently Sun believes I'm totally incapable of finding the Google toolbar for myself.

      What an insult.

  15. Uptake.. by codepunk · · Score: 2, Interesting

    First of all there is nothing at all hard about cross platform ajax programming, those hurdles have
    already been overcome. However it is over 10 years since java and applets where introduced and they
    are still slow as mud, I highly doubt any success in market penetration.

    --


    Got Code?
    1. Re:Uptake.. by maraist · · Score: 1

      Sorry but I play yahoo games all the time and they are fast as lightning.. Just a short startup pause. Course the bastards have several activeX games so I cant play them on Linux...

      --
      -Michael
    2. Re:Uptake.. by nwbvt · · Score: 1

      JavaScript (and by extension AJAX) is nothing but a hack. There are huge cross platform issues, even when you are using an AJAX library, due to the fact that there is no well defined JavaScript specification. And then there is a myriad of other issues that AJAX apps often have, such as accessibility, security, performance (especially when the average "AJAX developer" doesn't realize they are essentially writing an application instead of just a web page, meaning they have to worry about complex things like memory usage).

      --
      Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
  16. New toolkit, not a "combination" by Kelson · · Score: 5, Informative

    Bad phrasing on the part of the submitter and/or editors: according to the article, JavaFX isn't a "combination Applet, Flash, Javascript, and AJAX" in the technological sense, but in the sense of the kinds of features it provides. It's actually an extension to Java.

    Anyway, there is one drawback it's going to have as compared to AJAX: It will require end-users to install something. As it is now, AJAX will run (to some extent) in MSIE, Firefox, Opera, Safari, and a number of browsers with similar rendering engines. Even if it gets built in to the standard JRE, that still requires people to install Java, putting it more on par with Flash (though at this point a lot of people do have Java installed).

    So, how long before Sun convinces Apple to include JavaFX in their version of the JRE? Last I looked you couldn't just download a JRE for MacOS X.

    1. Re:New toolkit, not a "combination" by vertigoCiel · · Score: 2, Informative

      That's what I see as the biggest drawback to this approach: it requires installation of at least one additional plugin, unless they could somehow piggy-back it on Flash. However, Flash is still an installation in of itself, and many web-savy users block it all together.

    2. Re:New toolkit, not a "combination" by jrumney · · Score: 1

      Last I looked you couldn't just download a JRE for MacOS X.

      You must be looking in the wrong place.

    3. Re:New toolkit, not a "combination" by sentientbrendan · · Score: 1

      >So, how long before Sun convinces Apple to include JavaFX in their version of the JRE? Last I looked you couldn't just download a JRE for MacOS X.

      OSX Java SDK is downloadable in a number of places from apple's website. Prerelease versions are in their developer site ADC (requires free registration). I think the final JRE's get pushed to users automatically over the automatic update system.

      What is the relationship between Apple and Sun's java? I always assumed that apple just licensed and customized Sun's sources. After all, apple really doesn't have the resources to rewrite java from scratch, and if they did it would still be a waste.

      Anyway, I'd assume that OSX won't be far behind in implementing whatever class libraries and runtime stuff that SUN has. They've put a lot of effort into making OSX a nice java development environment, including adding java support to xcode (king of redundant now that eclipse is around) and writing a java wrapper around cocoa.

    4. Re:New toolkit, not a "combination" by Kelson · · Score: 2, Informative

      Sorry, I meant to say that you couldn't just download an alternative JRE for Mac OS X. My point was that you get Apple's version with your operating system, and you can upgrade to a newer version from Apple, but you can't get one from Sun or (AFAIK) anywhere else.

      That means you have to wait for Apple to incorporate the library into their JRE and push it out to users. And here's the key: Apple's Java always seems to lag behind the upstream version. They're still on Java 5. Java 6 has been out for, what, 4 months? From what I can tell, they're even several point releases behind on Java 5. The most recent release I could find was 1.5.0_07 Sun's version of Java 5 is up to 1.5.0_11.

      So yes, waiting for it to appear in Apple's JRE is a concern.

    5. Re:New toolkit, not a "combination" by Blakey+Rat · · Score: 1, Informative

      Java on the web is dead since IE removed it from the default install. Sorry, but I think it's going to take more than this to revive it.

    6. Re:New toolkit, not a "combination" by AnotherDaveB · · Score: 2, Informative

      I don't see why you say java on the web is dead. Yahoo games, which I use daily, uses java, and is just one existing site that uses java.

      Websites aren't going to replace their applets just because you think they should, and as long as the content is compelling, people will download the plugin.

    7. Re:New toolkit, not a "combination" by Sentry21 · · Score: 1

      So, how long before Sun convinces Apple to include JavaFX in their version of the JRE? Last I looked you couldn't just download a JRE for MacOS X.


      You can't, but it works by default in Mac OS X Tiger if you've updated. If you have the latest 1.5 or 1.6 JRE (I've got 1.5.0_07 without doing anything fancy to get it). Sun doesn't have to convince anyone.
    8. Re:New toolkit, not a "combination" by Bodrius · · Score: 1

      If it is on par with Flash now, that would be great.
      But if it requires installation of the J2SE runtime, I don't know if we can call it 'on par'.

      Flash has always been faster and more transparent to install on the spot, if you didn't have it.
      I haven't been following Java as closely for a while, but last I checked, installing the latest runtime was a much bigger pain - in terms of both bandwidth and user experience.

      This was one among many reasons people still targeted applets to 1.2 for an embarrasingly long time (I don't mean just targetting AWT, I mean collections and other core stuff).

      --
      Freedom is the freedom to say 2+2=4, everything else follows...
    9. Re:New toolkit, not a "combination" by Anonymous Coward · · Score: 0

      And I suppose Flash on the web is dead because IE never had it in the default install?

      Sorry, your comment is not insightful. People will download and install stuff, at least once, to get something they want. For Flash, people want to watch YouTube, or play silly animations, or whatever.

      Have you noticed that Flash is slowly becoming the standard? Because once you have it installed, It Just Works. And people LIKE that.

      If Sun can deliver what they are promising, I would download and install it on my computers. I don't think I'm alone. But Sun needs to deliver, it can't suck like Java has historically on the client.

    10. Re:New toolkit, not a "combination" by Kelson · · Score: 1

      Wait, are you saying that the client-side JavaFX components are already in the JRE -- and an old one at that -- and don't need anything new to be installed?

    11. Re:New toolkit, not a "combination" by Anonymous Coward · · Score: 0

      from the results google analytics give on our site, java is there for 99% of the visitor. Flash is not (~75%), and Flash is there in many different versions.
      It's a tech savy site (internet help users) but it shows that such sites don't have to worry about java and can be the launchpad of such new technologies if they see it worth it.

    12. Re:New toolkit, not a "combination" by Blakey+Rat · · Score: 1

      Except that if Yahoo weren't so lazy, they could re-code all those games in Flash and work on more a lot more users' computers by default. It's not like Yahoo Games is using that Java to do anything that you couldn't do in Flash.

      I also forgot to mention that the crappier Sun's Java VM becomes, the less likely people are to download it. Right now it's like 130 MB download and keeps some moronic system tray app going that constantly annoys you with "your VM is version 1.6.2.3.12.4.5.2.1.3 and needs to be updated to 1.6.2.3.12.4.5.2.1.4!!!".

    13. Re:New toolkit, not a "combination" by Blakey+Rat · · Score: 1

      IE has had Flash in the default install since about version 5.5. You do have to click a "yes I want to use Flash" screen the first time you encounter a Flash media, but it's there. I don't know what copy of IE you have that didn't include Flash, it might only be a US thing.

    14. Re:New toolkit, not a "combination" by AnotherDaveB · · Score: 1

      Except that if Yahoo weren't so lazy, they could re-code all those games in Flash and work on more a lot more users' computers by default. It's not like Yahoo Games is using that Java to do anything that you couldn't do in Flash.

      They could recode all their games in Flash, they could recode all their games in Javascript - BUT THEY DON'T NEED TO.

      I also forgot to mention that the crappier Sun's Java VM becomes, the less likely people are to download it. Right now it's like 130 MB .

      No idea where you get your 130MB figure, the (MS Windows) figure from Sun is 7MB-13MB.

    15. Re:New toolkit, not a "combination" by petermgreen · · Score: 1

      from the results google analytics give on our site, java is there for 99% of the visitor
      it would be nice to have some more specifics, which versions of java do you see?

      for a long time you could virtually rely on the presense of a JVM but in many cases it would be the horriblly out of date MSJVM (which MS is no longer allowed to distribute but third partys can legally distribute it with thier j++ made apps and its easilly found on the net given the filename). Firefox seems to find a reasonable download site for java without too much trouble but afaict IE doesn't at least not without some serious prompting.

      also do your users have anything in common that would mean they have java installed?

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  17. F3 by Paradise+Pete · · Score: 1

    If this is what's been known as F3, then the guy who wrote it has been posting some pretty impressive demos for a while now.

    1. Re:F3 by Scott7477 · · Score: 1, Interesting

      Thanks a lot, pal. Now I'm going to get in trouble at the office for playing Space Invaders all day:0 I agree, it's a pretty impressive demo. It took a total of about 30 seconds to get the demo up and running....

      --
      "Lack of technical competence coupled with the arrogance of power, as usual, leads to no good end."
    2. Re:F3 by Paradise+Pete · · Score: 1

      Some of the others are, I think, more impressive, and also if you follow the progress you'll see that he whipped up some of those in very short order.

    3. Re:F3 by Anonymous Coward · · Score: 0

      Heh, to me F3-code format/syntax reminds Motif and especially uil-files.

  18. Frustrating? by Anonymous Coward · · Score: 0

    Since when was AJAX frustrating, as TFA claims? People invented such wonderful libraries as prototypejs for a reason.

    1. Re:Frustrating? by Tablizer · · Score: 1

      Since when was AJAX frustrating, as TFA claims? People invented such wonderful libraries as prototypejs for a reason.

      I've still yet to see a good open-source AJAX edit-grid (spreadsheet-like) widget and collapsable tree widget. They've all sucked in various ways.

  19. We're all switching to Java by Anonymous Coward · · Score: 1, Insightful

    Does this really spell the end of AJAX? I sincerely hope so. Yes, we will all be switching to Java for the sole purpose of defeating the evil that is AJAX. Dumbass.
    1. Re:We're all switching to Java by outsider007 · · Score: 1

      Didn't java applets disappear in the late nineties for good reasons? Web 0.5 is more like it.

      --
      If you mod me down the terrorists will have won
    2. Re:We're all switching to Java by badfish99 · · Score: 1

      Yes. Java was invented as a language for use on small household appliances. It failed in that market. Then Sun tried pushing it as the language for web browser applets. That failed. Then Sun re-invented it as a language for large server-based web applications. That worked reasonably well. Then they pushed it as a solution for small household appliances again. Now they are having another go at the web browser market.

  20. Whenever a new technology comes along to replace.. by Richard+McBeef · · Score: 1

    ..an old one, I am always glad I never bothered to learn the original technology in the first place. In a few years, when something comes along to replace JavaFX, I'll be glad I didn't waste any time learning JavaFX.

  21. What trolling by bahwi · · Score: 1

    "Does this really spell the end of AJAX? I sincerely hope so. Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs."

    Use Dojo or a similar framework, or Rails has it built in to the back end programming, which is even better(again using a mature framework).

    And security? "JavaFX will also trigger desktop integration of over-the-wire applications with Java" desktop apps from? Yeah, high security results have always been achieved there. That's why I give activex unlimited control on my computer.

    The goal is to make it so people never have to see code," said Gosling.

    Sounds like even more code will be sent "over the wire." And I'm so glad for disconnected use, my broadband takes forever to dial in... oh, wait, no, nevermind. Had a 90's flashback there.

    Although I'm glad for the Java ME stuff, I'd love to see better web pages for the mobile market, and they don't have to be flat like we did before all this fun stuff happened(I don't call it web2.0, although you can if you like).

    It really sounds like it's DOA. Talking about "disconnected." "Imagine running gmail in a disconnected state" well it already does that, runs just fine, the data is on one end of the disconnected pipe and you can't see it until you're connected again. How do you have a remote database and a disconnected web app unless you download the database. And even then you wouldn't get new mail as it comes in.

  22. Startup times still slow, at least for the demos by caseih · · Score: 5, Interesting

    A demo of JavaFX (embedded in Java WebStart--yuck) can be found at http://blogs.sun.com/chrisoliver/ . Seeing as flash comes up instantly in browsers, even if it takes some time to download code, etc, and that web pages with ajax also render near instantly, I don't see how JavaFX is really going to appeal to end users. The JVM plugin still takes time to load on all browsers and platforms and is quite big. And on almost all browsers and platforms I've ever used, tends to lock up the browser for 10-20 seconds at a time. Further how will JavaFX integrate with HTML? Javascript?

    Flash and .NET don't have these problems, mainly because flash is a fraction of the size of the entire JVM adn runtime, and .NET is always loaded and ready to go on windows.

    Anyway, given the current state of Java technology in the browser, I don't see this as being any different from WebStart, which everyone loves to hate because it is so clunky.

    I dislike the idea of Silverlight entirely, particularly anything that relies on .NET (mono notwithstanding). I really want to like Java, I really do.

  23. ajax just works by mo · · Score: 0

    The reason everybody uses ajax instead of Flash or Java applet remoting is because ajax works out of the box on all browsers.
    If you're going to require people to download and install the jvm to run your app in their browser, you might as well just write a thin client app in java.

    1. Re:ajax just works by BrookHarty · · Score: 2, Insightful

      Really, Sun is pulling a fast one, JavaFX competes with Flash and Silverlight, a graphical environment for devices, with web browsers as a bonus. Security concerns and downloadable plugins are just a smokescreen to make the product look bigger than it is. Compete against Ajax for the browser? Noway, but it is an attractive solution for hand held devices.

  24. Finally. by Anonymous Coward · · Score: 0

    Why didn't they do that back in the mid to late 90's when Java was purely on the client side? Alot of people were doing the AWT thing, but were disappointed with the limited widget set and screwy event model. Then Swing came out, but it was huge and slow. In the meantime Flash became the de facto in-browser rich client. I sure hope JavaFX succeeds. I hate that stupid Adobe movie timeline thing. What a dinky way to program.

  25. Still screwing up on the mobile end I see by hey! · · Score: 1

    The mobile version appears to be tied to Savaje's commercially unsuccessful operating system.

    Despite having massive deployment of J2ME, it has always struck me that Sun's strategy to capitalize on that fact have been hampered by complexity -- for once not of the platform, but of the business model, which is tied up with phone manufacturers and mobile wireless providers. Basically, as a serious app developer, you probably have to partner with a wireless company.

    So now we have this interesting "mobile" technology. But you won't be able to buy it, you'll have to find a wireless vendor that supports it.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  26. IANAWD by non · · Score: 1

    I am not a web developer, but despite having said that, i can assure you that this is >90% hype.

    "You know all that AJAX code you've been writing and tearing your hair out over as you attempt to get the JavaScript working in both Internet Explorer and Firefox?"

    no, i don't. i really don't. not anymore.

    "offers interactivity, animation and programming"

    so its not AJAX, its Flash/Silverlight/etc. and as regards Gosling's comment (possibly taken out of context?),

    "Most scripting languages are oriented at banging out Web pages. This is oriented around interfaces that are highly animated,"

    are we talking server-side or client side? with full DOM level 1 support there isn't that much guess work involved in designing controls/widgets/etc, and anyone working in this field already has a browser compatibility layer (my own has shrunken considerably over the last 5-6 years). frankly the only issue i have is when to download the code, all in one go, or as needed.

    in short, while there is definitely a need for standard cross-platform browser support for such technology, i would be surprised if this was the answer. and as far as flash goes, when was the last time you gave the remote to the TV? i would be happy if i never saw another 'flash only' site that was nothing more than some corporate portal.

    last but not least, there wasn't any mention of the _license_.

    --
    ...vividly encapsulates that post-Watergate/pre-punk/coked-up moment when you could trust no one, least of all yourself.
    1. Re:IANAWD by aled · · Score: 1

      last but not least, there wasn't any mention of the _license_.


      Open source.
      --

      "I think this line is mostly filler"
    2. Re:IANAWD by Anonymous Coward · · Score: 0

      That FA sucks. Try here:

      http://blogs.zdnet.com/Burnette/?p=306

      "JavaFX will be open sourced under the same GPLv2 license used by Java SE (standard edition) and Java ME (mobile edition)."

  27. FUD Maybe? by Evets · · Score: 1

    "Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs."

    Just because you don't understand xml and javascript doesn't mean that nobody does.

  28. A temporary solution? by abes · · Score: 4, Insightful

    AJAX has given web-pages a new breath of life. Things like google-maps, netflix, etc. have definitely done things I wouldn't have thought possible before. And packages like RoR have managed to find ways to automatically generate most of the AJAX you need.

    I don't claim to be an AJAX expert, but it seems really good for the simple things you need to do. You can find 10 libraries now that give you collapsable boxes, drag-n-drop, etc. But it gets much more complicated if you want to do something not covered with these libraries.

    The big problem being that put very simply: HTML was not designed for full-fledged interfaces. Compare against a beautiful library like Cocoa, and it falls very very short. Which is fine. It's great for what it does.

    Java is many ways was supposed to fix this problem. A method to create interfaces that can be spread through web pages. But issues besides just speed have been a problem with Java. AWT was not great for making interfaces, and Swing isn't (IMHO) much better. I haven't tried SWT, but even Eclipse, its flagship, suffers from all types of interface issues (compare it against an IDE like XCode).

    I'm trying very hard not to be an Apple fanboi. I've used PCs for most of my life, and Linux for a good enough time (> 10 years). But I've seen enough interface libraries now (GTK+, KDE, Windows API, Javascript hacks, various ones using SDL, etc.) that I've seen both highlights and major downfalls from the different design paradigms used.

    One of the largest design issues I've seen comes from at the end of the day from the language itself. Part of A large part of Cocoa's beauty derives from Objective-C. It does things that c++ wouldn't dream of doing for speed reasons. Both Gtk+ and KDE try to replicate features already in Objective-C, but because they are non-native, they don't/can't do it as well. Which is not to say Objective-C is the end-all be-all language -- it's just great for interfaces.

    It's also something that from my personal experience Java can't do. So it's hard for me to imagine how using Java to make an interface for web pages will be a great advancement (again, I'm leaving speed issues alone -- this is a purely design argument). And maybe it will be better than AJAX, but that's not a great advancement .. a small increment without actually fixing any of the big issues.

    1. Re:A temporary solution? by bigtangringo · · Score: 1

      I can't speak for Linux or Mac in regard to Eclipse, but I used it for well over a year and I can't recall having any problems with it.

      Netbeans, when I started using it was slow as molasses at everything. It seems when the 5.5 branch hit RC1 things got a lot better. Now I've used Netbeans on Windows and Ubuntu (LTS & Feisty) since September and I'm nothing but happy with it.

      --
      Yes, I am a smart ass; it's better than the alternative.
    2. Re:A temporary solution? by billDCat · · Score: 1

      Java is many ways was supposed to fix this problem. A method to create interfaces that can be spread through web pages. But issues besides just speed have been a problem with Java. AWT was not great for making interfaces, and Swing isn't (IMHO) much better. I haven't tried SWT, but even Eclipse, its flagship, suffers from all types of interface issues (compare it against an IDE like XCode). I totally agree that the whole look of Java/Swing based applications is not very aesthetic, and I would say that the aesthetics and the overall issues with user experience is why applets failed: It's too hard to make a Java applet that looks sexy and too easy to make ones that look absolutely horrible. As far as the experience, I have had troubles in the past getting a Java applet to work, and that's with years of web development experience behind me. It's no wonder that Joe User stayed away in droves. Also, when you come to an applet, the Java loader lets you know full well that you are being taken to something separate from the browser environment, while with Flash, it's just part of the page.
    3. Re:A temporary solution? by einhverfr · · Score: 1


      The big problem being that put very simply: HTML was not designed for full-fledged interfaces. Compare against a beautiful library like Cocoa, and it falls very very short. Which is fine. It's great for what it does.


      Well, I disagree.

      Think of most of these libraries as being comparable to widget systems. Right now, they are quite basic (think of Motif or Tk). Given time, they will be more advanced (think Qt or GTK). But the widgets are not the code itself. For example, I can't just create a text editor by throwing a bunch of widgets together in Glade. You still have to have some control logic to make it all do exactly what you want.

      What is really needed is for people to see AJAX not just as a way to create more responsive HTML pages, but as a basis for serious application development. This means that one has to be ready to write a *lot* more code to do something real, but also that such apps need to be subject to normal software engineering practices.

      As some food for thought, many here are familiar with Firefox. If you look at the Firefox UI, it is written entirely in a form of XML that looks very much like HTML (called XUL) and the control logic is entirely written in Javascript. But... That is a heck of a lot of Javascript and of course, base functionality has to be supported by the underlying engine. Using XUL and AJAX, one can do almost anything. Why would XHTML be that different? If you think it has to do with look and feel think again.

      In fact, you can think of the Firefox application interface as being what a good HTML/CSS/Javascript app could be like.

      --

      LedgerSMB: Open source Accounting/ERP
    4. Re:A temporary solution? by abes · · Score: 1

      I wouldn't call any of my issues with Eclipse as being actual problems. It does some things very well. I like the fact that it can automatically find the bugs for you, and suggests fixes. I like the fact it mostly does the right thing.

      My big beef, and this is a personal opinion, is that the interface isn't always the easiest to use. It's not always obvious to me how to set the classpath correctly. Importing things can be a pain (at least, until you realize you can just copy stuff into the directory, and refresh).

      It definitely does not give me the same nice cozy feeling I get when using XCode. Or for that matter, the complete-in-control feeling I get when using Emacs.

    5. Re:A temporary solution? by abes · · Score: 1

      Yes GLADE uses XML to store the widgets, but just because they're both markup languages, doesn't mean they're the same thing. In fact, there was a project (I think it might have been called Renaissance) for storing Cocoa/NextStep interfaces as XML. But how the interface is stored is a much different matter than the control itself.

      The biggest issue is the underlying logic that controls the interface. For example, Cocoa allows for observers, which can be updated when state changes. Both Gtk+ and KDE do this as well (though they use the signal/slot terminology). Last time I remember looking at the Windows API, it instead used a callback method.

      You can actually write some of these concepts into Javascript, and obviously you can make interfaces, otherwise Google Office couldn't exist, but it doesn't make it good and it doesn't make it easy.

      Javascript is a hacked together language that started its life under the name Livescript. It doesn't really have the larger concepts of interface built in (besides the few HTML controls that exist). It doesn't provide a good method for control over building larger libraries, and definitely doesn't have the speed.

      There is also the issue of having to have a server. I wouldn't call this a deal breaker, as this is true with XWindow.

      My main point is this: creating an interface in HTML is not an ideal medium. It doesn't provide many native elements, and creating large libraries to compensate this is hard. It is actually quite easy to imagine someone creating a platform that isn't done in an HTML page -- especially since Java already exists.

      In fact, I think such a thing should be done. Maybe it's Mono (though I've never used c#), or perhaps it will be based on another language. Maybe even Objective-C (that would be truly neat). But having a cross-platform platform is something that would benefit many many people.

      With that said, cross-platform apps will most likely always suffer one major problem. I doubt they will ever quite fit in with the rest of the native apps. Each OS has its own style of doing things, and a different interface is really needed. One method of attacking this might be to have a default interface, and then create a new interface per OS you wish to customize.

    6. Re:A temporary solution? by einhverfr · · Score: 3, Interesting

      My Glade point was a loose analogy. My point about XML UI was centered around Firefox and XUL (+ CSS + Javascript). So I am omitting your Glade bits from my reply because I don't think they pertain. Look at the contents of the jar files in the chrome directory from Firefox if you want a better idea of what I mean.

      The biggest issue is the underlying logic that controls the interface. For example, Cocoa allows for observers, which can be updated when state changes. Both Gtk+ and KDE do this as well (though they use the signal/slot terminology). Last time I remember looking at the Windows API, it instead used a callback method.

      You can write listeners in Javascript. They are behind a good deal of the Firefox interface, iirc.

      My main point is this: creating an interface in HTML is not an ideal medium. It doesn't provide many native elements, and creating large libraries to compensate this is hard. It is actually quite easy to imagine someone creating a platform that isn't done in an HTML page -- especially since Java already exists.

      Take a look at:

      http://www.phptr.com/bookstore/product.asp?isbn=01 31423436&rl=1

      It covers the whole XUL (which is *very* similar to HTML) + Javascript thing. It isn't that hard to set up most of what you describe. The real issue is that, like Motif or TK, the widgets available are still pretty unintelligent. Everything you need for a framework on a low level is there, however.

      --

      LedgerSMB: Open source Accounting/ERP
    7. Re:A temporary solution? by ardor · · Score: 1

      XUL is not HTML.
      They have a similar syntax, but thats it.
      XUL defines interfaces, HTML describes hypertext. Hypertext is NOT good as an interface. The whole paradigm does not fit into this. The entire layout mechanism should be different for web applications, and things like the "back" button just don't fit in this. I am all for XUL, but keep HTML out of this. Write hypertext documents in HTML+CSS, and webapps in XUL.

      --
      This sig does not contain any SCO code.
    8. Re:A temporary solution? by MemoryDragon · · Score: 1

      Actually Swing is pretty good nowadays, it took a long time, but since jdk 4 it is usable jdk 5 was a small improvement and jdk6 made it excellent. The API from swing always was very good and flexible, it fell short in two areas, until jdk4 it was speed and up until now it is a better set of common controls (they can be added via third party libs though) I dont like SWT particularily due to its programming model which ignores the gc for component destruction. From all the UI toolkits I had to use Swing and Qt belonged to the best there were, Cocoa probably can be added as well, but I have yet to use it. Swing does not really deserve the bad reputation anymore it got 10 years ago rightfully, it is an excellent toolkit.

    9. Re:A temporary solution? by MemoryDragon · · Score: 1

      Actually some of the speed problems of Netbeans were in the netbeans code base, but JDK 6 made swing really fast, most apps I nowadays start render faster than native apps. Which is a shame to the toolkit writers because they can rely on the fastest stuff there is. And yes I love Netbeans too, over the years it has become one of the best IDEs there is.

    10. Re:A temporary solution? by badfish99 · · Score: 1

      The 10 years is the problem. If Sun had produced something usable 10 years ago, they would have had a big success with it. But now the market has fragmented into dozens of lesser offerings to fill the gap that Sun left, and if they re-enter the market now they are just one amongst many, with the added burden that everyone has a bad memory of them from 10 years ago.

    11. Re:A temporary solution? by MemoryDragon · · Score: 1

      Yes and no, you forgot one thing. 10 years ago, every one was screwed with applets, but that was 10 years ago, nowadays we have a huge crowd, literally millions of people familiar with java programming who know the ups and downs of the latest jdks, and you have also a crowd of people not familiar with java who seem to be very common over here, crying 10 year old stuff.
      Java is good enough on the desktop nowadays, the main issue which basically causes problems is that the rollout of the jre is still somewhat problematic. Flash has one advantage there, it is preinstalled with Windows, but you will see flash go down in the long run as well as soon as Microsoft stops bundling new flash versions with Windows, it will go the way of the JRE that way.

  29. Write once, enjoy everywhere by JochenBedersdorfer · · Score: 1

    It is well-known that Java is a "write once, debug everywhere" solution.
    Speak for thyself. For 6 years now we are deploying a complex(>3000 classes), swing-based client to windows, linux and even mac desktops. We never, ever had to debug something because of different platform quirks. Even better, we never compiled the code on those other platforms. Class files are compatible across platforms. Using fine grained security permissions, no code is executed we don't want to. No buffer overflows on our server, improved performance with every major JDK release. I could go on and on. It really saves a LOT of work!
    1. Re:Write once, enjoy everywhere by Anonymous Coward · · Score: 0

      I agree with you here. We work on Java apps that _are_ high performance. We can stand up to similar apps written in C because we can develop much faster. However, Java doesnt scale down to constrained environments as readily as we'd like; in large part because it is not as easy to integrate with native code as it should be.

      If you want to send somebody into uncontrollable laughter, tell him that you would like to embed your Swing application into a tabbed pane in his gigantic MFC application. Interop issues aside, its portability is fantastic. JavaFX is basically a new Java syntax that has similarities Groovy (especially if you consider builders), but decidedly oriented towards generating Swing based eye candy.

      One promising feature is that they make it much easier to do all of your long operations outside of the event dispatch thread, which is the single biggest culprit in giving Java apps a horrible reputation on performance. This is just more evidence that people are outgrowing Java's restrictive syntax, and efforts are being made to clean up all the anonymous class, reflection, and xml config goo that are beginning to swallow applications in complexity.

    2. Re:Write once, enjoy everywhere by Anonymous Coward · · Score: 0

      One promising feature is that they make it much easier to do all of your long operations outside of the event dispatch thread, which is the single biggest culprit in giving Java apps a horrible reputation on performance.
      Oh... My... God. You mean the "single biggest culprit" is something that is known to be slow and stupid, and is warned against by every Java book and tutorial available in the world today? I wrote ONE Swing app in my life, and I got that part right, because it was spelled out for me v-e-r-y c-l-e-a-r-l-y in every resource I used. I guess static typing and a simple language is NOT enough to defeat bad programmers. This makes me want to slap the next person I see for being a member of a stupid, lazy species.
    3. Re:Write once, enjoy everywhere by krelian · · Score: 1

      I wrote ONE Swing app in my life, and I got that part right, because it was spelled out for me v-e-r-y c-l-e-a-r-l-y in every resource I used. I guess static typing and a simple language is NOT enough to defeat bad programmers. This makes me want to slap the next person I see for being a member of a stupid, lazy species. I think he is talking about Swing Worker which is a new feature for Java 6. Was the only swing app you ever wrote for java 6?
    4. Re:Write once, enjoy everywhere by Anonymous Coward · · Score: 0

      I think he is talking about Swing Worker which is a new feature for Java 6. Was the only swing app you ever wrote for java 6?
      Before Java 6, you were supposed to write and manage your own worker threads, which is pretty easy in Java. SwingWorker is just a facility to save you the hassle rolling your own. Moreover, SwingWorker-type classes have been around at least since I started learning Java in 2000, just not in the Sun APIs. Examples were easy to find, and every instance of Swing documentation I ever saw said to use worker threads and NEVER do any significant computation in the event-handling thread. You really had to be willfully stupid to do it any other way.
  30. So it's JSP with graphics? by Anonymous Coward · · Score: 0

    I happen to like JSP. It does a lot of things nicely and the built in try, catch structure rocks. There is also a heck of a lot of good awesome code out there for jsp/servlets that does for free what windows will charge an arm and a leg for. iText does barcoding pretty good and manipulates/generates pdfs on the fly to boot.

    I for one welcome our new JavaFX overlords

  31. Re:Startup times still slow, at least for the demo by bahwi · · Score: 1

    Agreed. How it interacts with HTML and JavaScript are going to be very important. AJAX fits nicely in there, and really is nothing new except the techniques. The HTML is still indexable, and the ad and tracking javascript is still there. With this, that may not all be true.

  32. Re:Startup times still slow, at least for the demo by AKAImBatman · · Score: 1

    Anyway, given the current state of Java technology in the browser, I don't see this as being any different from WebStart, which everyone loves to hate because it is so clunky.

    Speak for yourself. I personally love Webstart technology. It's a beautiful solution to installing/launching applications in a cross-platform way. You just click, and it loads. No guarantees about the quality of content the developers package on the side, though. :-/ (The SpaceInvaders demo you pointed to being an obvious example.)
  33. Thank you, Sun! by mattgreen · · Score: 3, Funny

    You know, the one thing I absolutely HATED about AJAX was how there was no delay when I loaded a page. For many moons, I have longed for the five second delay that a Java applet on a webpage incurs. I knew I was in for an interactive, highly responsive, good-looking user experience when my browser stumbled momentarily, as it loads the slim, petite Java runtime into the browser. It gave me plenty of time to prepare myself for the life-changing experience that ONLY an applet could deliver!

    But now, I can be happy once again. Thank you Sun! And with a hip name to go along with it, as well! JavaFX! I wonder if it is compatible with WinFX? Or how about ActiveX?

  34. Another Freakn "Alternative" by sycodon · · Score: 1

    Gawd, I'm so sick of everyone re-inventing the wheel. Just pick one dammit and improve it over time.

    --
    When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    1. Re:Another Freakn "Alternative" by Anonymous Coward · · Score: 0

      Go pick up a copy of Windows Vista...

    2. Re:Another Freakn "Alternative" by nixNscratches · · Score: 1

      Diversity is good for everyone. Not all wheels fit all vehicles. Good thing there are thousands of types of them out there. Can you imagine if everyone had to use the same tires for every vehicle? What a mess that would be. There's a difference between standards and monoculture.

    3. Re:Another Freakn "Alternative" by sycodon · · Score: 1

      funny you should mention cars.

      On all of them you press the gas pedal to make them go (on the right side) and the break to make them stop (left side). Clutch , if you hjave one goes in the middle. Now imagine some yob decided that it would be "better" to have the rearranged? We'd all have to learn to drive again.

      Since I"ve been in computers, I've learned Fortran, Basic, Cobol (Still can't be beat for some things), C, C+, C++, Objective C, (was old to learn C#, but I told them what to do with that) Javascript, Java, blah blah blah. It's all the same thing: decision trees, iteration structures, Disk IO, etc.

      --
      When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    4. Re:Another Freakn "Alternative" by Anonymous Coward · · Score: 0

      Obviously we should write all programs in Cobol.

  35. Freedom of a programming language by tepples · · Score: 1

    Language are not open source, just particular implementations of a language (ie: a compiler, an interpreter, a runtime, etc) can be open source The de facto quality of a programming language is defined by the quality of its leading implementations. Such qualities include freedom. For instance, C is free because GCC is free.
    1. Re:Freedom of a programming language by aled · · Score: 1

      The de facto quality of a programming language is defined by the quality of its leading implementations. Such qualities include freedom. For instance, C is free because GCC is free.


      Sun Java is open source, probably they publishing the code this month. Your point?
      --

      "I think this line is mostly filler"
    2. Re:Freedom of a programming language by VGPowerlord · · Score: 1

      Language are not open source, just particular implementations of a language (ie: a compiler, an interpreter, a runtime, etc) can be open source

      The de facto quality of a programming language is defined by the quality of its leading implementations. Such qualities include freedom. For instance, C is free because GCC is free.

      I disagree. C is "free" because it's standardized and anyone can write a compiler and stdlib for it, under which standard C programs* will compile just fine. Unfortunately, a lot of programmers write code using specific extensions only supported by certain compilers, which won't compile under other C compilers.

      The linux kernel is a good example of this, as it won't compile under anything but GCC.

      These extensions hurt the language as a whole. I'm not free to compile it under the software platform I choose to, thus violating my freedom to run the program the way I wish... which is apparently a big issue right now, as running things the way I want is the entire point of moving to the GPL v3.

      *Libraries may need to be compiled first and the caveat above applies to those as well.
      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    3. Re:Freedom of a programming language by sr180 · · Score: 2, Interesting

      The linux kernel is a good example of this, as it won't compile under anything but GCC.

      I know of people having compiled the linux kernel under the Intel Compiler for quite a bit of a speed increase.

      --
      In Soviet Russia the insensitive clod is YOU!
    4. Re:Freedom of a programming language by petermgreen · · Score: 1

      afaict they've released a mostly free but still with some propietry bits archive. What isn't too clear yet is how crippled the result will be when you rip those propietry bits out (e.g. how much dependency is there on java2d from stuff like swing nowadays? my guess is quite a bit) or how much work it will be to fix it up.

      so yes we *ARE* getting closer and the recent release is a major step forward. Now sun and the open java comminity need to coordinate to reimplement the encumbered parts and possiblly integrate those reimplementations into the standard binary java releases.

      The time when i will consider java free is when i see a version that is compatible with suns existing implementations (which are the de-facto standard) to the point of being able to run most existing java applications (a good criteria would be if going from closed java to open java was no more painfull than going to the next release of closed java) in the main archives of the linux distros who care about freedom.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    5. Re:Freedom of a programming language by aled · · Score: 3, Informative

      Sun just released it it seems. They are asking for community help to replace the proprietary bits.
      They are doing a lot and doing what they said, you can't deny that.

      --

      "I think this line is mostly filler"
    6. Re:Freedom of a programming language by tepples · · Score: 1

      Unfortunately, a lot of programmers write code using specific extensions only supported by certain compilers, which won't compile under other C compilers. You mean __attribute__, right? Low-level code such as a kernel or a standard library has to use a lot of attributes in order to correctly specify a program's interaction with hardware or to give the compiler hints as to how to squeeze out the last ounce of performance from C without having to drop down to assembly language. Or do you mean C99 standard features that are available in GCC but not in Microsoft Visual C++ Express?
    7. Re:Freedom of a programming language by VGPowerlord · · Score: 1

      I said nothing about Microsoft VisualTrash++.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
  36. Re:Startup times still slow, at least for the demo by tcopeland · · Score: 1

    > I don't see this as being any different from WebStart,
    > which everyone loves to hate because it is so clunky.

    JWS is pretty sweet for internal apps, though. I wrote a Swing client for a J2EE app for an internal group and folks were quite happy with the easy updates. They'd suggest a change and half an hour later I'd come buy their office, ask them to restart the app, and the new version would get downloaded and Bob's your uncle. Pretty sweet.

    The JavaFX code looks pretty nice, and here's the original press release (got it from thenewsroom).

  37. Show me an example of this working!!! by Anonymous Coward · · Score: 0

    Show me an example of this working!!!

    AXAJ - hundreds of sites delivering real value.

    JavaFX - I spent 10 minutes and could not find a single example. Come on, even if it was a standard Applet + JavaScript it would be more than nothing at all. Show me how it works, give me a realworld example and I may take a look at it sometime.

  38. dumb fuck marketter by LordMyren · · Score: 1

    "Proprietary solutions and vendor lock-in are also dead ends."
    So you acknowledge the presence of product solutions for ajax exist yet disqualify the possibility of using them because they are "dead ends"?

    there are no issues with javascript. cross site security simply demands you be resilient and durable and know when to fail user operations when they're asking for "funky" stuff, but that security was mandated at some level by traffic sniffing and packet generating long ago.

    as for cross platform reliability, what other standard library would you propose?

    the wonder of javascript is that things can be hacked to work cross site. greasemonkey provides an interface back into the web application and permits users to medal on their own. eventually cross site atom reading will allow sites to mix web content dynamically. 3rd party sites running their own js on your page is not a problem, authors that use shite namespacing techniques are. javascript is the only standard platform available that comes with a display layer. it will kick javas lily bitch ass.

    Java is the dead end of all dead ends, the furtherest logical business case extension of c++. The fact taht there will never be anything after Java, to me, indicates is stasis decay and dead end. In this I agree very much with Alan Kay and his theories of languages.

    marketter, fan boy, or run of the mill overly excited moron. you ought be fisked.

  39. Hahaha by mattgreen · · Score: 1

    That pretty much destroys his argument. At least Flash has the decency to be less than 30MB to install.

  40. Why all the hate? by Anonymous Coward · · Score: 0

    Sun open-sourced Java. They've supported OpenOffice for years. They've opened Solaris (somewhat). Now they propose to slay yet another bete noire for Linux desktop users like myself: Flash. I have not forgotten that Linux was a second-class platform for Adobe/Macromedia until only recently. I know that I still can't run a 64-bit desktop without pissing around with 32-bit chroots 'cause eventually one of my kids is going to want to play a Flash craplet.

    I also know that if Flash was open-source, we would've had 64-bit support ages ago, and that Linux would've been excellently well-supported from the get-go.

    I applaud Sun for giving us a potential alternative under the GPL.

  41. AJAX or DHTML? by dircha · · Score: 1

    "Because it runs on the client and is not dependent on code sent over the wire, it also means applications written in AJAX, such as Google Apps, can be used offline."

    So JavaFX Script is just a client-side UI library? That's not AJAX. That's DHTML.

    Too bad they didn't fix the real problem: Javascript. I would rather see Java as a first class language in the browser to replace Javascript entirely. Instead of writing Java GUI applications to target Swing or AWT you would be able to write them to target the browser DOM directly. And you'd have compile time checking. The DOM+CSS model is a pretty nice for documents. Of course that would require all browsers to have compliant DOM implementations (maybe that's the holdup). But JavaFX sounds more like Flash.

    1. Re:AJAX or DHTML? by Tablizer · · Score: 1

      Too bad they didn't fix the real problem: Javascript. I would rather see Java as a first class language in the browser to replace Javascript entirely. Instead of writing Java GUI applications to target Swing or AWT you would be able to write them to target the browser DOM directly. And you'd have compile time checking.

      The debate between dynamic/interpreted and static/compiled language is age old and everyone has their own preferences on that issue. I usually just say, "I prefer dynamic languages" instead of "static languages are unfriendly, verbose, and inflexible". (Unless somebody asks me "why" :-)

      Actually, it is possible to make a language that is both to some extent (command-line or header switches can force all types declared up front if wanted, for example), but few seem interested. It would resemble a cross between JavaScript and Java more or less.

  42. Stupid branding. by mattgreen · · Score: 4, Insightful

    I'm so sick of companies thinking they'll somehow become relevant because they put reminders of their products in every nook and cranny on my system. Sun, like all other half-wit companies, feels the need to put useless tray icons in there to brand the user's computer. You'd think after the Internet's collective hate of RealPlayer they would have learned that the systray is not for advertising. Besides, people don't care what Java is, they want to look at what is on the page. But no, they have to sit there in the tray, completely useless. And lets not discuss needing to run a program 24/7 that monitors for updates to Java, or installing a control panel.

    Sorry Java, you're not nearly as important as you think you are. QuickTime commits the same set of sins, which is why I swear by QuickTime Alternative, it is a bit less annoying.

    1. Re:Stupid branding. by QuantumG · · Score: 2, Interesting

      My personal favourite (in terms of hatred) is the Install Shield updater. WTF? Why would I ever need to update install shield? Why is that even "installed"?

      --
      How we know is more important than what we know.
    2. Re:Stupid branding. by fourharpoon · · Score: 1

      Err, most average users that I know do not even notice whether there are anything in the systray. They tend to be hesitated meddling with icons sitting there, out of fear that system requires them or something.

      It is a bunch of ~10% computer geeks who usually right click almost every icon there and select Exit, Close, or any other menu that keeps systray exclusively for date and clock only. Which is as bad as any when advertising is in concern.

      ~my sig is ok, it is my posting that got me Score 1
    3. Re:Stupid branding. by Anonymous Coward · · Score: 0

      I've installed hundreds of apps with installshield and have never seen this updater. Perhaps you have the intallshield SDK? I can see why one would want to keep that up to date, though I don't see why it would demand a separate process -- checking it on startup would seem pretty sufficient.

    4. Re:Stupid branding. by mattgreen · · Score: 1

      Yeah I've never run across this. If it gets installed on the end user's system, then it is more confirmation to me that InstallShield absolutely blows.

  43. It's Not About AJAX by fupeg · · Score: 1

    JavaFX is meant to compete with Adobe's Flex+Apollo and Microsoft's SilverLight. As such these kind of RIAs compete with AJAX, but indirectly. These techs can operate offline and each has some kind of multi-device support. That being said, it does seem unlikely that people will choose Flex, Silverlight, or JavaFX over AJAX for a web-only application. Then again, imagine if you could use all of your Google apps offline. Once your throw in the desktop, AJAX has little answer. If it's easy to achieve desktop/web app transparency, then maybe AJAX becomes a poor option. Big if though.

  44. I disagree so strongly, I finally made an account! by Xenkan · · Score: 5, Insightful

    Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs.

    Security - Javascript is NOT designed to secure a web app, security needs to happen on the server side, out of necessity!

    Cross-platform - I would argue that Javascript / ECMAScript, having been standardized and distributed with all major browsers for years, is arguably the MOST supported cross-platform programming language in the world. If a computer has a browser made in the last 5 years, it supports standardized ECMAScript. And what PC doesn't have a browser?

    The only incompatibilities I run into on a frequent basis are getting my scripts to create results that look the same across all browsers, and that's not Javascript's fault, it's CSS and browser support of CSS! If you have problems with the [i]functionality[/i] of Javascript, then you're probably not writing according to the well established standards, or worse yet, throwing together snippets of Javascript from all over the web like so many amatuers that give the language a bad rep.

    Proprietary solutions and vendor lock-in are also dead ends

    So you would use Sun's solution, rather than the well established internationally standardized ECMAScript?

    Programmatic friendlyness - Joel says it all here Personally, I've programmed in dozens of languages, and few are as flexible and enjoyable as Javascript

    Javascript used to have the same status that Java applets and Flash still do, used predominantly for play things, small self-contained segments of the browser where you want to do something different. Javascript has risen above that. The world is finally realizing Javascript can be an integral part of an entire website, and that the website as a whole can be enhanced by Javascript and it's tight integration with other web standards.

    This article sounds like an attempt to rehype Java applets, which frankly, have not seen the advancement and acceptance that Javascript has over the years.

  45. Car analogy for the marketing types? by Looce · · Score: 1

    Internetnews is reporting on Sun's introduction of JavaFX at JavaOne today. Looks like a combination [of Java] Applet, Flash, Javascript, and AJAX with a friendly programming interface. Does this really spell the end of AJAX? I sincerely hope so. Nothing built on Javascript will ever achieve the security, cross-platform reliability, and programmatic friendliness that Web 2.0 needs. Proprietary solutions and vendor lock-in are also dead ends. JavaFX has the potential to satisfy this opportunity even better than did Java over a decade ago. Along with AJAX, let's hope JavaFX also puts paid to Microsoft's viral [ActiveX] and JScript, and, more importantly, that it really is a web scripting language that developers can grok. Let me rephrase:

    Leftlane is reporting on General Motors' introduction of the Volt today. Looks like a regular car, with an environmentally-friendly twist! Does this really spell the end of fuel cars? I sincerely hope so. Nothing built to use fuel will ever achieve the security, reliability, and environmental friendliness that Earth 2.0 needs. Proprietary solutions and vendor lock-in are also dead ends. The Volt has the potential to satisfy this opportunity even better than did the GMC Sonoma over a decade ago. Along with fuel cars, let's hope the Volt also puts an end to Chrysler's viral line of lead-fueled cars, and, more importantly, that it really is a car that people can drive. Ok, I'll admit it. I was bored.

    But this hyped-up Slashdot story got me going. I hate publicity disguised as news stories... And it just asked for a car analogy.

    As an aside, I have made a comment already on such a hyped-up post and it was also a car analogy. Figures.
  46. But does it run Linux? by Aladrin · · Score: 1

    Okay, I'm kidding about 'run Linux'. I really want to know: How do you make it work on Linux? I thought at first it was because Java wasn't set up for my browser (Firefox 2) and it wasn't. So I got that running and verified it works on the newest Java 6u1.

    But JavaFX tries to download and asks me what I want to run it with. Running it with Firefox just asks me again what I want to do. It's supposed to work inside the browser, right? Because if they are trying to replace flash with something that doesn't run in a webpage, that's idiotic.

    --
    "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    1. Re:But does it run Linux? by Anonymous Coward · · Score: 0

      The demos I ran are Java Webstart (jnlp). Open them with javaws (e.g. /usr/java/default/bin/javaws). Run as applet support may be coming later?

  47. When ajax succeeded ? and theres an alternative by unity100 · · Score: 1

    now ? I must have missed it.

  48. JavaFX developer forum by Anonymous Coward · · Score: 0

    A JavaFX developer forum is getting started.

    I think this is a great idea for a technology. JavaScript will never let me use native UI widgets or threads. It will always be interpreted and slow, unlike Java bytecode which runs at nearly-native speeds. Pages with JS scattered through them will never be able to verified as being correct. There is no compile phase for a JS / AJAX page, so all bugs are runtime bugs, and we all know, you can't get rid of runtime bugs in a loosely typed language like JS+HTML.

    Moving the work into applets is the right place. They have a proper multi-threaded approach to building GUIs. They work. The problem is that, before JavaFX, there wasn't a good way to integrate an applet into a web interface. For example, let's say I want to use an HTML text editor applet on my page. There would be an HTML submit button. There is no clean way to have that submit button submit the contents of the applet with the HTML form. I realize there are some hacks to do that, but it should be a non-hacking process.

    The other cool thing about today's open source Java announcement is it might help with the slow start-up times of applets. If the JVM could be made into a library which is dynamically linked in to the browser when the browser starts, there would be no startup time for creating a new JVM process, because everything would run in the browser process. Now this will be easier for the Firefox developers to do.

    Anyway, I think this is cool and is a good way to revive the potential of applets.

    By the way, I'm certain I'm going to get lots of flames from people who don't know what threads are, how they are relevant to GUIs, what runtime errors are, what loose typing is and why it's a problem, why compiling code before running it is good, etc. I welcome all such ignorant flames but will not respond to them.

  49. A desperate attempt at relevance by thethibs · · Score: 1

    JavaFX appears to be a (hopefully last) desperate attempt at relevance beyond the enterprise in-house app. My guess is it will fail. Anything that needs a non-captive audience to install and maintain a JRE, especially if it includes enabling Java in the browser, doesn't have much of a future.

    On the other hand, it's a very nice new tool. It should do well in the enterprise app space already occupied by Java.

    --
    I'm a Programmer. That's one level above Software Engineer and one level below Engineer.
  50. Bullshit filtered version of above meta-article by Qbertino · · Score: 1

    Summary: 'Blah, Blah, AJax is crap here comes JavaX Will it finally free us from the threat of eternal slavery in an Ajax ruled world?'

    grok -> synthetic, geek-wanna-be term for 'to understand'

    ---

    I looked at the official JavaFX pages and it's the most buzz-word ridden and content free 3 paragraphs and pseudo FAQ I've seen in a long time. Which is kind of a suprise since it's from Sun who usually keep that thing to a standard minimum.

    Here's what I make of it:
    RIAs are a current big thing. Ajax, Flash, Laszlo, Flex, Curl, Apollo, XUL and whatnot are involved in a huge technology mayhem over who's gonna rule the new additional client side layer that promises to end all x-plattform problems. Just in time for us to move on the the next set of problems (wether we display out stuff on a thumbnail-screen, an immersive VR cybergoggle enviroment or on something of the 10 bazillion variations inbetween).

    JavaFX is most certainly *not* aimed at Ajax. I don't think Sun cares to much abot Ajax. After all, the more Ajax you've got, the more servers you need. Which is what Sun can only hope for.
    It is, of course, aimed at the thing to which Java has been the only true potential competitor for 10 years now and the next big market area that Java really has a chance in: Flash.
    Flash is the most widespread end-user plattform in existance (OK, JME aside, but that doesn't count since cellphones can be considered outside of the computer game for now, and to me it looks barely turing complete). The next most widespread client-plattform to Flash is Java.

    The attempts Java up to now has made into the Flash area are factually non-existant. Suns JMF (Java Media Framework - yes there is such a thing) and JMF Video Demos from 2002 are a joke compared to Flash, and mm developement in Java also is factually non-existant. Java thrived in an area it initially wasn't intended for at all: The server side. Sun was happy with that and felt fine selling servers for good money and being able to offer the relative performance hog called Java on top of them for a safe and flexible way to buld heavyweight server apps. Yet Flash client programming, even though ActionScript has become a full blow all-frills PL just like Java, hasn't really picked up that much in the RIA app market as it could have. Due to the image Flash has with most people, due to them slowpoking around with the complete Flash VM redo (which they only recently finished) and due to a base of implementers that have given Flash a bad reputation since the emergance of Ajax and working CSS. Still Flash is the only RIA plattform of today that can deliver.

    Now computers are getting smaller and faster and clientside Java isn't that sluggish anymore. Java is GPLd, servers are probably running so-so and now, finally, Sun probably has noticed that they can get serious with true Flash competing RIAs. You can pave the road with supposed RIA kits and generators - one with the most hot air in buzzwords and no real project to prove itself in being Eclipse RIA. IBM flapping their wings can't go unnoticed by Sun, they're still a little pissed about that 'eclipse' joke I presume.

    Yet in the end it all boils down to one thing: Do you have a widespread tried, true, tested and trustworthy virtuall machine that runs everywhere. Only Flash and Java have that. Adobe just OSSd their Flex generator, nullifying a big advantage of Laszlo. Good for them. Allthoug I personally am still giving Laszlo the underdog-bonus whenever applicable. But Sun GPLd Java aswell, a move which Adobe basically just followed suit. And if Sun finally manages to get serious with Java RIAs and multimedia - then Adobemedia *finally* has a real competitor in the Flash area. MS Silversomething was a small hickup, squished 10 days later when Adobe anounced Flex open sourcing last month. But Sun now announcing this JavaFX thing, despite being not much more than a buzzword ridden press release, should have all Flash RIA developers pointing their ears. At least it officially puts Sun i

    --
    We suffer more in our imagination than in reality. - Seneca
  51. Doesn't the End of Ajax by einhverfr · · Score: 1

    involve a contest for a suit of armor, a jealous rage, murder, and suicide?

    Could be worse, they could have decided not to settle for the name of second best and named it "Achilles."

    --

    LedgerSMB: Open source Accounting/ERP
  52. Here's a requirement you can't get by Anonymous Coward · · Score: 0

    "You bring me requirements, and I'll show you the magic that modern web technology can perform."

    How about security?

    Gosh, the silence is deafening.

    1. Re:Here's a requirement you can't get by Tim+Browse · · Score: 2, Informative

      I'm no expert, but I've heard tell that security is a process, not a product.

    2. Re:Here's a requirement you can't get by MillionthMonkey · · Score: 1

      I'm no expert, but I've heard tell that security is a process, not a product.

      You're arguing out of the dictionary. A product is a product of a process. If the product is insecure we call a spade a spade; we don't say that Windows for example is "neither secure nor insecure but a product of an insecure process". We can't prove that any product is secure, but we can easily prove that one is insecure. All you need is one vulnerability. And in the case of software, the product itself starts a process, which may be as secure or insecure as the larger development process that created it, so your argument is especially unfortunate even at the dictionary level.

    3. Re:Here's a requirement you can't get by maraist · · Score: 1

      you are only as secure as your underlying toolset. If you use a bloated framework so that you can do neat widgets, you increase the probability that any one component is insecure or unstable. JSON in AJAX and a couple other things are worrying existing developers. Most people are using SOME sort of AJAX framework that uses at least some of these faulty techniques (because they are mostly hacks).

      --
      -Michael
  53. no, please by nanosquid · · Score: 1

    JavaFX looks like it requires the entire Java platform and is oriented towards building widget-style user interfaces. In addition, there are worrisome statements about it offering "desktop integration". Those all sound absolutely scary to me.

    I think DOM+Javascript is actually a good thing. It has enabled things like Greasemonkey, screen scraping, and hypertext often leads to easier-to-use applications than widgets.

    The new version of Javascript should run like a charm with its JIT, and it looks like a nice language. I really don't want to go back to Java applets.

  54. Information... by beemishboy · · Score: 1

    For those who actually want to know about JavaFX instead of saying - Java is slow or applets suck or even worse, JavaScript is insecure or something else irrelevant...

    Here is the project FAQ
    It is going to be some kind of open source and going to be developed for both desktops and mobile phones as well as for the Blu-Ray and HD-DVD stuff which already has Java built-in to the standards.
    Also from what I understand it is build off of a project called F3 and work from a recent purchase by Sun called savaje that makes Java software for cell phones. So it's uniting a lot of efforts that have been in the works. To say that this is just a rehash of applets of the '90s is fairly naive.

  55. Re:I disagree so strongly, I finally made an accou by Vexorian · · Score: 1

    My god, is Joel that surprised that it has first class functions?

    --

    Copyright infringement is "piracy" in the same way DRM is "consumer rape"
  56. DRY (Don't repeat yourself) by jeberle · · Score: 1

    Each modern OS has a way to do graphics, fonts, widgets, etc. Why the Java group insists on shunning these in favor of kinda-sorta-look-alikes is beyond me. The code is there. Just call it. See Eclipse for an example of how to do this.

    On a related note, if you want a profoundly cool, stable, robust, distributed, declarative language, how about http://www.erlang.org/?

    1. Re:DRY (Don't repeat yourself) by alphamugwump · · Score: 1

      Because each OS has a different way of doing fonts, widgets, and so on. And they all behave slightly differently. The point with java is that you can render some glyphs, and have the pixels look exactly the same. Yes, this is slow and sucky. But meta-widget sets are much worse. Try running firefox using your KDE theme if you don't know what I mean. I DEFINITELY prefer a special UI that clashes with my fancy-pants theme to a UI that tries and fails to emulate my fancy-pants theme, introducing bugs in the process.

      And yes, Eclipse does screw up too. I don't remember exactly what went wrong (I tried eclipse once and hated it), but it gave me the general impression of a huge, strung-together-with-duct-tape, buggy, monolith that tried and failed to integrate with gnome. I can't imagine what it would look like if I tried to run it with my QT theme.

  57. Browsers by ucblockhead · · Score: 1

    Unless they can somehow get it installed in all popular browsers, this will fail. AJAX succeeds mostly because IE, Firefox and Opera all support it out of the box, and have for years.

    --
    The cake is a pie
  58. Please SEPARATE GUI from App Language! by Tablizer · · Score: 1

    Javascript has risen above that. The world is finally realizing Javascript can be an integral part of an entire website, and that the website as a whole can be enhanced by Javascript and it's tight integration with other web standards.

    JavaScript is/was not really the bottleneck. The bigger problem is inconsistent and buggy DOM and/or underlying GUI models between vendors.

    Actually, the GUI engine should be languague neutral if possible, or at least to the extent possible. I don't see people trying very hard to make a language-neutral GUI engine/interface. 90% of most GUI setup is or can be attribute-driven anyhow. A behavioral interface on top of something that is mostly declarative is usually ugly IMO. We just need event hooks (on-click, on-key-press, etc.)

  59. Needed: Forms Browser by Tablizer · · Score: 1

    Perhaps we should bypass existing browsers and create a form browser that is geared toward business forms instead of e-brochures that HTML-based browsers are designed around. Retrofitting biz forms on top of an e-brochure system has proven a failure multiple times. We need to create the "Mosaic" of Forms to kick off the industry. Perhaps it can be written in TCL-TK, or C-based TK libraries. (Maybe prototyped in TCL but shipped in C or compiled C exe's). Make the protocol as declarative as possible (perhaps XML) so that actual scripting can be either server-side and/or kept to a minimum on the client. For example, field templates or reg-ex's can be used for most of the field validation.

    By starting over we can avoid Microsoft's heavy hand.

    1. Re:Needed: Forms Browser by Shados · · Score: 1

      You more or less described exactly what Windows Presentation Foundation is (and to a lesser but significant extent, Silverlight), down to the XML/declarative bit. Of course, with the last line of your comment, that won't work :)

      But something based on a similar idea would work great.

    2. Re:Needed: Forms Browser by John+Bayko · · Score: 1

      Try something like Extensible User Interface Protocol, or XUP: (http://www.openxup.org/).

    3. Re:Needed: Forms Browser by Tablizer · · Score: 1

      Try something like Extensible User Interface Protocol, or XUP: (http://www.openxup.org/).

      Aaak! It uses SOAP! No way Jose, I'm outta here.

  60. Netbeans by Profane+MuthaFucka · · Score: 1

    Their tutorial on this page https://openjfx.dev.java.net/Getting_Started_With_ JavaFX.html is based on Netbeans. No thanks. If Sun is serious about this technology becoming popular, they'll make an eclipse tutorial. I don't want to drink the Koolaid and abandon Eclipse, which I use for everything. I would like to run a simple tutorial with Eclipse. I suspect that a lot of people won't even bother with JavaFX if they can't just stuff it into another Eclipse project to try it out.

    --
    Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    1. Re:Netbeans by kannibal_klown · · Score: 1

      I'm at JavaOne right now. On Monday I attended one of the "Conference Plus" sessions about Web Services. The room was pretty full.

      After about a 1/2 hour, he asked how many people used NetBeans. About 3 or 5 people raised their hands.

      He laughed and asked "How many people use a competing IDE, namely one that starts with E." Just about everyone else raised their hands. He laughed it aside.

      It was a good chuckle. Of course, myself and a neighbor tried to plug "IntelliJ IDEA" but nobody heard. Honestly, I don't have anything against NetBeans; the recent version is OK and I like how it does a few things more than Eclipse.

    2. Re:Netbeans by teknopurge · · Score: 1

      eclipse is the old hat. the newer versions of netbeans trounce eclipse in so many ways, i'll leave you to google "netbeans vs eclipse"

    3. Re:Netbeans by krelian · · Score: 2, Insightful

      I never really understood all the hate for Netbeans. Maybe it's part of the "hate Sun" heritage.

  61. This is "applets 2.0". If you liked AWT... by Animats · · Score: 1

    Having totally botched deployment of the "applet" thing with Java (to be fair, Microsoft sabotaged that in IE), Sun is trying again. As if anybody cared.

    JavaScript isn't really that bad. There are about a half dozen known serious problems with JavaScript and browser support for it, and they're getting fixed. The Tamarin just-in-time compiler is in test, and the speed problem will soon be solved.

    Most of the real trouble comes from the CSS div/float/clear model of layout, which just isn't enough to insure that everything ends up in a reasonable place. Not having a grid model was too restrictive. Manipulating "div" items dynamically tends to result in brittle web page designs that break easily. To get around that, you almost have to code up a layout engine in Javascript, which is silly. So there's something of a move back to table based layout, a plethora of frameworks to paper over the troubles with the "div" model, and meanwhile the CSS theorists take their model back to the shop for rework.

  62. Same as F3? by dwarfking · · Score: 1

    So I'm assuming this is the same thing as F3 that Chris Oliver has been working on and posting to his blog for sometime? The syntax looks the same.

  63. C - spaghetti code??? by Browzer · · Score: 1

    Maybe you're confusing C with Fortran.

    1. Re:C - spaghetti code??? by vux984 · · Score: 1

      I've actually never had much exposure to fortran.

      Lots of old C code is full of with goto statements to break out of loops, or (even worse) to restart them, and return statements everywhere and anywhere.

    2. Re:C - spaghetti code??? by Browzer · · Score: 1

      Lots of old C code is full of with goto statements to break out of loops, or (even worse) to restart them, and return statements everywhere and anywhere. Are you sure the "old" code you're talking about didn't contain line numbers?

    3. Re:C - spaghetti code??? by SadGeekHermit · · Score: 1

      A determined programmer can write Fortran in ANY language. :)

      --
      NO CARRIER
  64. Javascript is *better* than Java by rswail · · Score: 0, Offtopic

    Java is a statically typed language, has only just recently implemented generics in any form and suffers from stupidities like not having its basic types (eg int) be objects.

    Javascript has a logical implementation of OO based on prototyping, allowing for "duck typing" (if it looks like a duck...).

    It's a functional language, allowing for closures and other very useful programming structures. Once you've understood them and used them, you won't go back and you'll feel like you're programming in a straightjacket in any language that doesn't support them.

    It suffers from browser limitations with incompatibilities in the DOM model (something that applies to any language that runs in the browser) and Microsoft's inability to implement CSS correctly. The other limitation is being single threaded within the browser, which can cause problems with XMLHttpRequests and other background tasks.

    These limitations could be fixed, and there are libraries that provide cross-browser compatibility and workarounds transparently (eg prototype).

    Java and C# are the "toy" languages, with their hand-holding of programmers. OO is a useful paradigm, but static typing leads to bloat and incomprehensible templating efforts. But they have the library/IDE support that Javascript doesn't.

    Vendors don't like Javascript because it doesn't "lock in" programmers to their server-side implementations. If you want to see what can be done with Javascript when it does have full library support and isn't "sandboxed", then look at Firefox. Most of the UI is Javascript driven.

  65. Yeah, but can it touch the hardware? by Anonymous Coward · · Score: 0

    The one thing that's missing out of all this new stuff is being able to touch hardware. Give programmers the tools to get an image from a scanner/webcam/digicam, get audio from the mic, set paper size and print without user interaction(printing from a third party app like acrobat counts), send/receive commands through a serial port, send commands to a physics card, etc. When the app first runs, ask the user which of the pieces of hardware they want the app to be able to communicate with. Remember and never bug again unless the app asks to reconfirm.

    I'd love to migrate a ton of my old apps to the web but am restricted by the fact that half of them need to touch hardware to do their job. I already migrated our primary accounts receivable software over but the first complaint by users was the multiple clicks just to print(click print on website, pdf sent to client, client clicks print in acrobat, acrobat brings up print dialog, user clicks ok, user closes pdf). What about our software that runs CNC machines that need to communicate through the serial port? What about our document management system that needs access to the scanner?

    Give us a conduit that _isn't_ active-x and isn't a local app.

  66. JavaScript is a pain... by Anonymous Coward · · Score: 0

    An article about a possible alternative to JavaScript and all the 1337 scripters out there that have learned to insert 3 lines of JavaScript in their HTML pages are out there defending JavaScript...

    Anybody saying that JavaScript is a great language and that it's a joy to program in JavaScript is suffering from some serious mental illness. JavaScript, for all practical purposes, lives inside a browser. And it's fugly to work with all the buggy exotic implementations available. The state of affair is actually so bad that there are countless articles comparing the various JavaScript "libraries" that simplifies things like, you know, doing an XmlHttpRequest.

    Re-read this ten times if you think JavaScript is any good.

    It is that bad. Doing a simple XmlHttpRequest is not trivial. It is doable, but not trivial at all. There are lots of documented hacks and varying browser behaviors regarding, say, how asynchronous event responses coming out of order are handled (hint: specs are silent on this and it's different from browser to browser). Or how to prevent IE6 from caching XmlHttpReq even though you set all your cache related infos correctly!? (this one is a known IE6 bug and the fix is trivial... But when you don't know it's a known bug you may scratch your hair for quite some time). I don't say it's complicated to solve but simply that these are problems you shouldn't have to solve in the first place. The fact that XmlHttpReq is a fugly JS hack may not be entirely unrelated to the fact that it was an addition to JavaScript made by MS.

    Wanna talk about ugly memory leaks and the one true correct way to make sure your objects gets garbage collected? Welcome to fugly hackland.

    Wanna talk about trivial JavaScript scripts (as in "three lines of code") making the system swap like mad then eventually killing the browser? (yup, as of may 2007)

    Caching bugs in particular are really messy, which makes developing JavaScript apps challenging. This is not JavaScript's fault here however, but the various buggy browser implementations. How Google solved the problem? Radically: seen that some browser do not refresh .js when they should, Google in GWT went all the way to append randomness at the name of every .js file you modify (myeleet.js becomes myeleet8a334f15.js etc.). I smiled when I saw that they did this in GWT for after hours of scratching my hairs over browsers caching bugs I decided doing so was the only way to stay sane. Sure, your way of developing in JavaScript may prevent you from such atrocities... But not mine (and, yup, I do tend to do constant cross-browser testing). This is not a problem on my part... And Googlers agree with me.

    So JavaScript / ECMAScript "the whole ecosystem" is crappy and buggy... And yet a great many people with a straight face will insist that it's dynamic-typing nature and first class functions and OOness make JavaScript the "one true language" that we should use for everything. To me it makes JavaScript a monstrosity, a huge mess. I appreciate a lot of programming language and JavaScript simply ain't one of them.

    To all the JavaScript lovers out there: I'm sorry but you can't simply say that JavaScript is a great languages while ignoring that when programmer say "JavaScript" it usually means having to work with all the different (always buggy) implementations. Moreover I don't buy the fact that "somehow a functional language + somehow an OO language (*) + dynamic typing" makes a great language.

    To me it's a bastardized monstrosity.

    Thanks a lot to all those working on gigantic frameworks allowing the others to do simple things like sending an asynchronous request and dealing with the answer... You know, like one should expect a language to do easily, without having to rely on countless hack.

    But please, please... Stop saying that JavaScript is anywhere near good.

    I won't start

    1. Re:JavaScript is a pain... by krelian · · Score: 1

      Interesting post about the difficulties of the developing for the web. However, you keep giving examples why javascript suck where in reality all the examples you gave are about the API and not the language itself.

  67. No that cross-platform ! by brantondaveperson · · Score: 1
    Had a look at the code, and noticed this little gem of a comment

    // Hack: can't create transparent windows except on Mac (by setting<br>
    // a transparent background on the Frame)<br>
    // In that case the system handles the dragging...<br>
    var isMac = System.getProperty("os.name").toLowerCase().contai ns("mac")<br>

    Honestly, if a simple calculator app can't even be properly cross-platform, what chance do we have?

    ps: This would not be an issue in Flash!

    1. Re:No that cross-platform ! by robmv · · Score: 1

      That is a limitation, true, but how can flash run in an independent window and be able to make the window transparent in a cross platform way? Flash is mainly a browser technology with no control of the browser window.

    2. Re:No that cross-platform ! by Anonymous Coward · · Score: 0

      ps: This would not be an issue in Flash!

      No, because in flash, you can't do that at all.
  68. Applets suck by VGfort · · Score: 1

    I disabled Java in my browser long ago. I got tired of my computer locking up for 10-15 seconds while Java loaded up. Plus the only time my anti-virus did find something it was from Java. I remember Applets were cool when they finally launched, but Flash and JavaScript have done everything they could do, and what they couldnt replace PHP and some library have pretty much covered.

  69. Re:I disagree so strongly, I finally made an accou by Xenkan · · Score: 1

    Not just first class functions, but first class functions within a mainstream language that can be dynamically and retroactively assigned as methods to all instances of a "class" as easily as:

    var a = new Array(1, 2, 3);

    Array.prototype.ForEach = function(f)
    { for (var i = 0; i < this.length; i++) f(this[i]); };

    a.ForEach(alert);

    Comon, your inner nerd has GOT to be squee'ing

  70. I think he was talking about Flash (nt) by Anonymous Coward · · Score: 0

    (nt)

  71. No need for chroots by SanityInAnarchy · · Score: 1

    First, Java still doesn't have 64-bit applet support. I can run just about everything except browser plugins in a 64-bit Java.

    Second, you don't need a 32-bit chroot. There are at least two alternatives. One: 32-bit browser with multilib. In Gentoo, you just emerge firefox-bin -- haven't tried in Ubuntu, because I like method two: nspluginwrapper. 32-bit plugin, 64-bit browser.

    I don't hate the idea of this done right, but to me, this done right would either involve re-inventing the entire Internet (rather than patching things together), or simply using existing standards: Embedded mpeg for video (playable with Windows Media Player, QuickTime, mplayer, whatever, all of which come standard everywhere), SVG for vector graphics, and JavaScript for the logic. If you don't like HTML+SVG, you could use Gecko/XUL, although I'll hate you because it won't work in Konqueror/Safari or Opera. (Firefox is getting bloated now -- remember when it was the answer to Mozilla's bloat?)

    This just seems ugly, hackish, and unoriginal.

    --
    Don't thank God, thank a doctor!
    1. Re:No need for chroots by Anonymous Coward · · Score: 0

      So being forced to run a 32-bit browser in an otherwise 64-bit clean environment just to support a 32-bit piece of closed crapware is not ugly or hackish? Similarly, loading a 32-bit DSO into a 64-bit browser is not ugly or hackish?

      Those open technologies you mention are nice, but they've never caught on for whatever reason. I still think Sun is our best bet. I can't imagine you really think that being at the whim of Adobe's clowns-in-charge and marketroids is a good thing.

  72. Re:I disagree so strongly, I finally made an accou by MrMunkey · · Score: 2, Informative

    Thank You!!

    I was just about to say all those things until I read your comment. JavaScript is actually quite nice once you actually learn it beyond using alert.

    Check out http://javascript.crockford.com/javascript.html for info on why JavaScript is so misunderstood.

  73. Try OpenSource... by vhogemann · · Score: 1

    as in GPL2...

    Can Flash do that?

    --
    ---- You know how some doctors have the Messiah complex - they need to save the world? You've got the "Rubik's" complex
  74. Yay open source and competition by icknay · · Score: 4, Interesting

    Hellooooo everyone, the issue is not that historically the JVM takes forever to load or that Flash can be annoying. The key trend is that AJAX/Html are hitting a limit, which leads to all this recent energy about Flash/Flex as a better way to construct rich UIs, witness Microsoft's Silverlight.

    Now both Flash and Silverlight are totally proprietary. That's a huge problem. If one of them were to "win" and get a zillion developers ... well gee it seems historically this has led the winning vendor treat us all like crap. That's a real bummer when you have this expensive time investment in your website, but it's locked in to some vendor's intellectual property. The only other open rich alternative -- SVG + Javascript -- appears a bit dead.

    So what's neat about this announcement, is that it's a Flash workalike that's OPEN SOURCE. If it were to "win" ... that would be awesome. Even if the technology is just ok, the openness would make it worthwhile. Just think ... it could work properly on Linux and phones and what have you. This is very much like what happened with HTML originally. Just an ok spec, but the openness catalyzed all sorts of growth and competition.

    Another way this could work out is that it bluffs Adobe into opening up Flash, which I figure would be just as good an outcome. The key is to not be stuck developing your expensive web app, but with some vendor controlling the underlying technology.

  75. Strongarming Mozilla by wonkavader · · Score: 2, Interesting

    Well, if they do a decent job at this, in the next version, once they have the bugs out, they could strongarm the mozilla organization into including it in the firefox download. They could muscle them by, for instance, paying them.

    That would go a long way toward maiking this idea fly.

  76. It can't spell the end of anything. by suv4x4 · · Score: 1, Interesting

    Internetnews is reporting on Sun's introduction of JavaFX at JavaOne today. Looks like a combination Applet, Flash, Javascript, and AJAX with a friendly programming interface. Does this really spell the end of AJAX?

    Please don't insult our intelligence. So far it doesn't look like it spells the end of anything, except tha fact Sun hasn't learned anything yet about doing business in that area.

    Flash had success early on basically because it was very small, very fast, and had the top tools on the market (the Flash IDE). Truth is, that sometimes the classical sentence reverses, and we're as good as the tools we use.

    These tools, and early on Flash almost didn't have overlap with the things people used HTML/JS for. So there was a set of distinct reasons where you wanna go Flash and that's it.
    Do you imagine JoeCartoons.com if the guy had to code his toons in Eclipse? All the inspiring experimental and artsy sites, "experience" movie and games sites.

    Silverlight has its distinct feature in better video experience, and a great runtime that supports theoretically any language on the planet as long as you write the compiler for it (and the existing subset if quite impressive already).

    Granted, it's not quite distinct, as the Flash products have evolved tremendously in the meantime.

    So, Adobe:

    Has open source language machine (that will be part of Firefox 3), Flash CS3 for creative minds / animators / experimentators. It has Illustrator CS3 and Photoshop CS3 integration for designers and illustrators. It has Flex for developers (which is going to be opensource within a few months). It has tight workflow integration with its audio/video toolsets for delivering great video on the web.

    Early market killer feature: animation and rich expressiveness (current killer feature, widespread use and packs lots of useful features in a light runtime).

    Flash has 98% installed base.

    Microsoft:

    Has open sourced the DLR, and there's an open source implementation of the CLR in Mono. It has Microsoft Expression Studio for creative minds / animators / experimentators, and illutrators/designers. It has Visual Studio for developers (which has a free version as Visual Studio Express). It has tight integration with Windows Media and a cheap way to stream high quality videos over the internet with a small investment.

    Early market killer feature: easy to deploy HQ video, hot runtime (CLR of .NET), best dev tools (Visual Studio), uses existing .NET experience.

    Silverlight has the support of major companies in the field, and Microsoft is expected to utilize its windows monopoly (Windows Updates) and throw a lot of marketing money to quickly increase its installed plugin base.

    Sun:

    Has open sourced their engine and have a myriad of development tools that overlap each other in terms of where they sit in the market. Nothing for animation, designers, illustrators, experiementators. Basically designers are left out in the cold.

    No partner announcements, and if JavaFX requires the full JRE it means a slow and clunky experience. If it's a new plugin means 0% market coverage and no money to burn for marketing and partnerships to improve on that. No easy to use integrated video toolsets, no light cross-platform, skinnable components that provide functional and rich experience.
    And no trust that Sun can have success after too many failed attempts in the area.

    Early market killer features: ??? ("kinda better than JS" ?)

    What on Earth is Sun trying to accomplish?

  77. Dead ends? by trimbo · · Score: 1

    Proprietary solutions and vendor lock-in are also dead ends.

    I'm not so sure. A couple tiny startups called Adobe and Microsoft seem to be doing pretty well with that strategy.

  78. Use the right tool for the job. by MikeFM · · Score: 1

    Wait time is hard because most of us are now using broadband of some type but there are always a few people still using dial-up or something in-between, such as connecting over the cell phone network. I generally try to keep the first load time down by turning on compression in my web server, sometime running Javascript & CSS through whitespace/comment strippers, and delaying as much of my Javascript and CSS from downloading until after the page has finished loading as possible. After that, I try to keep things low by supporting caching of my CSS, JS, and images and keeping my HTML reasonably clean and simple. Still you'll always have trade-offs between download speed and functionality.

    I don't know that we need a replacement for HTML/JS/CSS so much as we need an upgrade. Javascript Behaviors should be part of the JS standard and not require the downloading of an extra 50Kb of code. Common libraries should be enabled to cache in the browser and be used with multiple websites more easily. All browsers should support sending Javascript and CSS compressed. Stuff like that.

    I can't say I've experienced any flakiness with GMail, Google Maps, and other major AJAX apps I've used. Certainly no more than I've exprienced with Flash or Java apps or even a lot of desktop apps. The flakiness usually comes with poorly designed and tested stuff on smaller sites. I usually test my stuff in Firefox, Opera, Safari, IE6, and IE7 and sometimes it can be a pain to get everything working but I'd say 90% of my problems come from IE. This is an IE problem and not a problem with HTML/JS/CSS. Poorly designed and tested code will always be a problem with any language.

    My code is typically pretty clean on the backend. The HTML, Javascript, and CSS is largely kept untangled and is easy to work with. I do wish this process would be made easier but again it's an incremental upgrade that is needed more than a total replacement. Communication with a backend server isn't overly complex or tangled either. The biggest issue is to not inline code your Javascript and CSS into your HTML and to make an effort to make sure important features will work without CSS or JS.

    Generated code like ASP.NET and other tools produce can be useful but is as much trouble as not for some projects and really limits your ability to think outside the box. I think it's to early in the 'web 2.0' to be trying to solidify a standard of what we can and can't do.

    Java, Flash, ActiveX, etc have all kind of sucked due to thir bulk, security issues, installation needs, inappropiate design for rapid application dev, etc. I have used all of them sometimes, when needed, but don't feel they are the right direction to go. JavaFX, to me, sounds like more of the same - gee whiz features with the core issues poorly thought out and worked out. Is JavaFX going to be based on Java? That alone is enough to keep me from using it from most projects. Java syntax is not appropiate for RAD and often web development has to be able to respond quickly to new needs, found bugs, etc.

    I wouldn't mind a new scripting language if it would solve these problems, not create new problems, and would work with all current major browsers (Firefox, Safari, Opera, and IE) without using plug-ins or similar bad ideas. I'd probably suggest modifying Python to have built-in DOM support and to allow assigning scripting to HTML/XML using CSS-like behaviors. Possibly making XUL + friends into a real standard across browsers. I'd also vote for forcing SVG and Canvas support in all current browsers as well as adding some built-in audio/video capabilities to the browsers. OBJECT and EMBED are a broken concept and plug-ins suck.

    Just making IE follow the actual standards for Javascript + DOM implementation would be a huge step forward in making developer's lifes easier. They have no excuse not to since the implementations used by Firefox and Safari are freely usable.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    1. Re:Use the right tool for the job. by vux984 · · Score: 1

      I can't say I've experienced any flakiness with GMail, Google Maps, and other major AJAX apps I've used

      Well, right off the top, you can't reliably link to a "page state". Even google maps only goes partway in this regard. Next factor in the battle for my status bar, and right click menu, and the fact that the back/forward/reload buttons don't work properly.

      I don't know that we need a replacement for HTML/JS/CSS so much as we need an upgrade.

      The internet as a big collection of hypertexts functions really really well at being that on html/javascript. "Web2.0" by and large supplements "Web1.0" it doesn't replace it. html/javascript doesn't need to be retired.

      But a lot of web2.0 stuff really should be done as web based apps on a new platform, not hacked together with AJAX. I'm not talking about posting to a blog, I'm talking about trading stocks and tracking them in real-time, creating spreadsheets, manipulating images (a la Gimp or Photoshop) or enterprise intranet apps; some stuff really belongs in "web applications" not on "web pages".

      Adding java behaviours, python, better DOM, and CSS standardization will just make writing blog page editors easier and that's fine, and a good thing, and we should get that too... but a scripting language (or two) is not enough.

      We need to be able to pick the right tools for the job... not everything should be a scripting language "mash-up". What if we want the syntactical convenience of lisp for a task, or multithreading/synchronization objects, or sophisticated interface defintions.... one tool be everything.

      What makes, say gmail, suited to being a web app? Its clumsier than any real app I've ever used. Whats the advantage? That it can be accessed from anywhere that has a browser? That's about it. Its not really a 'website' in any normal sense of the word. You log in and from that point on your in an application.

      Have you ever encountered application publishing using Citrix? You can actually use outlook (or thunderbird, or photoshop, or whatever) from any machine that has a browser. THAT, my friend, is what the the goal of web applications should be; at least in terms of how the interface looks and works.

      Citrix is really server heavy (not to mention proprietary, and I would argue overpriced but that's a separate issue), it would be far better if the UI could be published to the browser as an 'applet' to take the load off the server. In an ideal scenario, I as a developer could write a desktop application against a framework choosing which functionality is client side and which is server, and then choose to publish it as a web-based application without writing a single line of extra code.

      I'd connect to the application, the UI for the application would be downloaded and run (or possibly loaded from recent cache, or an explicit cache) and I'd be able to get to work. I could write the application in the language of my choice or mix them as needed/appropriate. I could design the application as server or client heavy as I like... from having all the processing done on the server using the client to just display UI screens - to having all of it on the client, using the server just as a data store and application host.

    2. Re:Use the right tool for the job. by MikeFM · · Score: 1

      The problem with page state and back/forward/reload issues is only waiting for an update to the DOM to properly include state information. It shouldn't be to difficult to make it possible for apps to overload those functions to do something that makes more sense in context of their app. Switching to Java, Flash, or whatever does no better because they support those functions even less than AJAX.

      Most browsers let you deny scripting from taking over control of your status bar, right-click functions, and other things that can be annoying (at worst you have to download some sort of extension to do this). Again, these are no less held hostage with Java or Flash.

      IMO Java and Flash is not Web 2.0 - it's just the same boring stuff that didn't work 10 years ago with few improvements or new concepts. Web 2.0 should not replace Web 1.0. A good web based application should be usable with Javascript and CSS turned off and no plug-ins. Add Javascript, CSS, or even Java and Flash should just improve the application by using the extra functionality that is available.

      I'll certainly agree that Javascript, CSS, HTML, etc have limitations. Some of these can be overcome eventually by improving these technologies. Some can also be overcome by making proper use of Java, Flash, etc to give a boost. Myself, I'd rather leave my apps as backward compatible as possible by building a normal HTML app and then layering on Javascript and CSS and then layering Flash and Java on top of those so that with any layer missing as much capability will be retained as possible. So, for example I might use a Flash based sound manager to lend improved audio to a HTML/CSS/Javascript based game, controlling the Flash abiltiies via JS, rather than writing the entire game in Flash. That way if the user doesn't have Flash they only lose sound capability.

      It's quite possible to write something like a web based graphics editor using Canvas and SVG but you might want to use Java components as downloadable filters (as sending the entire graphic to the server to process every filter might be to slow) so just have each filter download on-demand. That has the additional benefit of not needing to download a single massive Java app before it can become useful. Of course for something such as a graphic editor there are fewer downsides to a pure Java or Flash based app as you care less about being useful for users without your plugin of choice and aren't likely to care about blind users or search engine placement. Many apps can find a better middle ground though - anything that primarily works with text-based information. Stock trading and spreadsheets I'd say fall into that category of being useful to not require plugins for.

      I use LISP, Prolog, Perl, PHP, Python, SQL, and pretty mcuh whatever language I find useful in web apps all the time. It's easy enough to run them on your servers and let them communicate with your web client. You don't even need to use a page refresh anymore to do it. If that isn't good enough you can compile most languages into Java and interact with those components. I know Python, LISP, and Prolog can be compiled to Java so it isn't a shortage by any means. Again, usually you don't need to resort to using Java but in the rare cases it is needed it supplies plenty of power to supplement AJAX apps.

      I'll disagree about GMail. It's way less clumsy than Outlook, Thunderbird, or any other email program I can think of. My biggest complaint about it is it's lack if disk space which I doubt many others suffer from. Web apps encourage the author to keep things simpler, easier to use, and less bloated than the authors of desktop apps. That is a real benefit IMO. Email is all about representation of information and that is exactly what the web is for. I don't think there should be a logical difference between web and application. It's all about making it easy to process information and follow the connections between bits of info. If your app can't be fit into that model then maybe there is something conceptually wrong wi

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  79. JavaFX - totally ill conceived by posttool · · Score: 1
    1. I do not want to use an odd scripting language. I am a programmer. I like code.
    2. The applet not only starts slower, but also runs at a slower frame rate similar Flash animation.
    3. The vector & font support is not as nicely anti-aliased as Flash.
    4. The only real problem w/ RIA & Flash media is that they are not spidered completely & there are no distinct URLs. Did anyone consider this issue?
    5. Looks like programmers trying to imagine what designers want again.
  80. Java Kernel by cowwoc2001 · · Score: 1

    Two words: Java Kernel

    http://weblogs.java.net/blog/enicholas/archive/200 6/09/index.html

    This is *the* technology that will bring Java to the desktop. The community should let Sun know if they value this technology and now that the JDK is open-source you can help make it a reality!

  81. Re:I disagree so strongly, I finally made an accou by Anonymous Coward · · Score: 0

    Um, I might be if I had never used Python, but I have, so I'm not. In Python, you don't have to waste time defining all that junk. It's all already built in.

    a = [1, 2, 3]

    for item in a: print item

    squared_sum = sum(item*item for item in a)

    f = lambda x: (x*x + x - 3)%2

    list_of_f_ed_things = [f(item) for item in a]

    Seriously, this stuff doesn't need to be hard.

  82. What to Call It? by lordSaurontheGreat · · Score: 1

    JAJAX?

    --
    Consider yourself spoken to.
  83. javaFX vs. silverlight by wwmedia · · Score: 1

    Java 140MB vs Silverlight 4MB hmm tough joice

    1. Re:javaFX vs. silverlight by Anonymous Coward · · Score: 0

      140MB download? sure make bash Java if you like, its startup sucks and unless that is fixed this is dead in the water, but don't make shit up.

  84. Why all these special purpose languages? by TheMCP · · Score: 1

    No, we're moving from one language full of odd but well understood little quirks that's only used for browser-side programming, to a new language full of unknown odd little quirks that's only used for browser-side programming.

    Why do we have to keep learning new languages for such special purposes? Think about it: the contemporary programmer, to build a unified web app, has to learn:
          1. Java (for server side functional programming),
          2. JSP (for server side templating),
          3. JDBC (to connect to the database),
          4. SQL (to deal with the database),
          5. HTML (to display content),
          6. CSS (to style content), and
          7. Javascript (to make content dynamic)
    JavaFX is just going to replace one of those 7 things the programmer has to know with a different one.

    I've been doing most of my work lately in Water. It lets me program in a uniform, server-side language and it takes care of the browser-side interactivity for me. Let's say, I want to make an AJAX enabled web application in which there is an object class for a person, and I want to use AJAX to be able to change their name. And, I want all person objects to have a blue background. Here's the *complete* application in Water:

    <class biz.person name="John Doe"=string style=<style background-color=color.of.blue/> >
        <method change_name to=req=string> .<set name=to/> .<refresh/>
        </method>
        <method htm_inst>
            <span>
                Name:
                <input type="text" id="newname" value=.name/>
                <input type="button" value="Change" onclick=.<h2o .<change_name to=newname/>/> />
            </span>
        </method>
    </class>

    There we go. It's MVC (the model is the class contract in the first line, the view is method htm_inst, the controller is method change_name), it handles all the scripting for me, and I only have to write the server side code in *one* language. (Yes, it looks like I put HTML in there. I didn't. I put water objects that *look* like HTML in there.) So, then I make an instance, like this:
            biz.<person name="Jane Doe"/>
    Then I instantiate a web server:
            <server root=wob port=8080/>
    Then I actually open a browser to view the object:
            <open_browser_window "http://localhost:8080/biz/person/of/0.htm"/>
    Poof, done. If i want to persist the data I can:
            <file "logical://user/my_data.cxs"/>.<set content=biz.person.of.0/>
    and if I want to retrieve it I can:
            <execute source=<file "logical://user/my_data.cxs"/>.content />

    Now, why should I want to learn seven different technologies/languages to build a web app when I could use one? (The fact that I already know and use those 7 languages/technologies is beside the point.)

    1. Re:Why all these special purpose languages? by SadGeekHermit · · Score: 1

      Oh, come on. Your cute little pretend application is at best a "hello world". This is Slashdot, you're not fooling anyone.

      Let me put this to you politely.

      The "seven things" you mentioned are actually three things. Java, HTML/CSS/Javascript, and SQL.

      Every programmer who went to college even temporarily knows all three things and can probably do them in his sleep.

      More than that, most programmers ENJOY working with them and don't consider them the great hardship you're pretending they are.

      Your whole position is ludicrous! If you stick with an "easy" language (Water???) you'll only be able to do easy things.

      Man up. Take the bull by the horns.

      Java is your friend.

      --
      NO CARRIER
  85. Equally Not Web/URL friendly... by xtracto · · Score: 1

    I've seen the demos, and, besides the point that it takes some time to load the application *after* it asks me to download or open de jnlp file, AND then I have to answer to a question of whether I trust "Java Sun whatever" and I am superüber-shure to execute the application, the resulting application is not URL or web friendly.

    Take as an example the Testla motors website, what if I wanted my father to see the Perfomance Specifications for the Tesla Roadster? I will have to tell him to go to the "http://download.java.net/general/openjfx/demos/te sla.jnlp" page and then click on the Performance tab and then click on the "Performance specs" subtab, instead of just givnig him the direct "http://download.java.net/general/openjfx/demos/te stla/perf_specs.html" URL...

    That is something I have always hated about plugin-based web pages be it active-x, flash, Java or whatnot,.

    --
    Ubuntu is an African word meaning 'I can't configure Debian'
  86. The JRE download is 7MB by cowwoc2001 · · Score: 1

    So please tell me where you're getting these figures from.

    There is also the matter of Java Kernel being developed for Java7 which reduces the size even further: http://weblogs.java.net/blog/enicholas/archive/200 6/09/java_browser_ed.html

    1. Re:The JRE download is 7MB by Anonymous Coward · · Score: 0

      "you see lisa 7 is a larger number than 4!"

      lol

  87. Your dealer must be proud. by Civil_Disobedient · · Score: 1

    suffers from stupidities like not having its basic types (eg int) be objects.

    What crack are you smoking? All java primitives have Object versions.

    Objects are heavy. Primitives are fast. If you want an integer object, you use Integer instead of int. Or Char instead of char. Or Boolean instead of boolean. Etc. You have the choice with Java to pick the right tool for the job. If you don't need any of the object's methods and just want to do some fast arithmetic, use the primitives, otherwise use the object. Pretty friggin' simple. They're even named the same so you won't get confused.

    This is Java Fundamentals 101, and you failed.

  88. Ahh, the famous asshat argument by ClosedSource · · Score: 1

    Let's face it, you just want believe that C# is Java clone but you really can't back it up. So you're pissed because I presented some counter-evidence.

  89. Failed once as an applet techonology by jkern · · Score: 1

    It is has once already failed as an applet technology.

    The real question is,

    What has changed since then, that will make it a success now?

    Otherwise wont we see the same outcome?

    Essentially still have same user base, unless they've all been
    trained in the virtues of the Java VM.

  90. Re:I disagree so strongly, I finally made an accou by Stu+Charlton · · Score: 1

    The only reason anyone in their right mind would use javascript today is because it is the only option. Personally, I'm hoping JavaFX has something more like Python's syntax i.e, easily understood by someone who does not owe their employment to the understanding of it.

    There are many, many professionals that enjoy JavaScript, that are in their right minds. Your hope for the end of AJAX will not happen for many years.

    --
    -Stu
  91. Damn!! Yet another scripting language? by pythonic42 · · Score: 1

    Much as I'd like to dislike them, you just gotta give it up for Microsoft providing IronPython/IronRuby support in SilverLight. So, instead of providing JRuby/Jython/Groovy APIs for their new technology, Sun decides to create a new frakkin' scripting language? Think this innovation might be DOA...

  92. Re:I disagree so strongly, I finally made an accou by m50d · · Score: 1
    Security - Javascript is NOT designed to secure a web app, security needs to happen on the server side, out of necessity!

    The security problem is that users end up disabling javascript, because allowing it is too insecure.


    Programmatic friendlyness - Joel says it all here Personally, I've programmed in dozens of languages, and few are as flexible and enjoyable as Javascript

    I enjoy writing python a lot more, and can do everything Joel talks about and more; I heard there was a mozilla project to add support for client-side python, but don't know what became of it. In any case, programming language will always be a matter of personal preference and the specific problem being solved, which makes a system which runs some standardised bytecode form which multiple languages can be compiled to - be that Java, .net, parrot or something else - far superior to one restricted to a single language, however good that language is.

    --
    I am trolling
  93. JavaFX nice :P by rupert0 · · Score: 1

    You know .. about 2 years ago when I was still and colleague, me and a friend started to develop a web site that had a back end that used Java+PHP and JavaScript. It's was really basic, my friend did this HTML editor(Java applet) and let's say somebody wanted to use a image we would query or do X procedure and the PHP script would return it in XML and wallaaaa JavaFX. Sounds cool, can't wait to try some stuff around.

    --
    RUPERT! I TOLD YOU TO WATCH THE BAGS! You were looking at the boys again, WEREN'T YOU.
  94. bit silly article by fredrik70 · · Score: 1

    I quote:

    "You know all that AJAX code you've been writing and tearing your hair out over as you attempt to get the JavaScript working in both Internet Explorer and Firefox? Yeah, that AJAX code"

    No one I know working with Javascript struggles too much with cross-platform functionality nowadays, since they all use one of the many excellent libs that do all that work for you. Just try them out: Dojo, Mochikit, YUI, Rico, Protoype, etc, etc). Of course you still have to test and make sure it work, but then again, you always have to do that.

    --
    if (!signature) { throw std::runtime_error("No sig!"); }
  95. End of AJAX? I wish too! by gbalaji · · Score: 0

    >> Does this really spell the end of AJAX? I sincerely hope so. Me too!

  96. Is anybody following the context of these posts? by ClosedSource · · Score: 1

    There's no problem, just no value. Loading time is just dead time whether you're talking about Java or Flash.

  97. Off Topic - Will somebody finally explain to me by Master+of+Transhuman · · Score: 2, Interesting

    WHY when I see Slashdot pages 1 to x at the top of a topic, and I click on page 2, I get page ONE ALL OVER AGAIN?

    And sometimes page 3 and beyond behave the same way? At some point, I start getting new pages with new responses, but it's incredibly annoying to have to click on two or three pages to get PAST page one!

    Are my settings fucked up, is it Firefox, what the hell is it? This happens on Windows, Linux, anything! Is this a known bug in Slash or what?

    --
    Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
  98. Re:I disagree so strongly, I finally made an accou by Xenkan · · Score: 1
    It isn't hard

    My point isn't that you have to define new methods

    My point is that you can dynamically add new methods to core classes

    Javascript 1.6 has built-in Array.forEach

    [1, 2, 3].forEach(alert);

    This is simpler Javascript code, but doesn't demonstrate the features I was trying to demonstrate
  99. Does r7 work for Sun? by norteo · · Score: 1

    no comment.

  100. nothing to do with AJAX, or the Web by mcallan · · Score: 1

    That article is misleading. It has nothing to do with AJAX,
    and nothing to do with the Web.

    It's basically JavaFX Script, a language for defining GUI's.
    https://openjfx.dev.java.net/JavaFX_Programming_La nguage.html

    These are better articles:
    http://arstechnica.com/news.ars/post/20070509-firs t-impressions-suns-javafx-platform-for-rich-applic ation-development.html
    http://weblogs.macromedia.com/jd/archives/2007/05/ sun_javafx.cfm

    -- Mike

  101. I didn't say that. by SanityInAnarchy · · Score: 1

    So being forced to run a 32-bit browser in an otherwise 64-bit clean environment just to support a 32-bit piece of closed crapware is not ugly or hackish?

    I didn't say that. I just said you don't have to use a chroot.

    Also: It's for more than just the browser. In fact, most of us consider multilib to be a good thing. It means we can run all kinds of 32-bit apps, even open source ones (wine).

    Similarly, loading a 32-bit DSO into a 64-bit browser is not ugly or hackish?

    I actually thought it was a clever hack, but that's irrelevant. I am not saying that Flash is better. I'm actually saying that Java is only really marginally better -- notice how, despite being open source, there still isn't a 64-bit Java plugin.,/p>

    Those open technologies you mention are nice, but they've never caught on for whatever reason.

    So rather than try to find out the reason, you're suddently going to assume that Java is our best bet?

    Why???

    I can't imagine you really think that being at the whim of Adobe's clowns-in-charge and marketroids is a good thing.

    I don't, as a matter of fact. But I also think that among the open technologies we have, Java is just about the worst one we could use.

    --
    Don't thank God, thank a doctor!
  102. An AJAX killer that is Java specific? Good luck. by Liberty+BASIC+Guru · · Score: 1

    How does Sun (or anyone) even begin to believe that a solution that requires applications be written in Java will displace AJAX techniques which can be code with any language? Only the true Java-faithful will swallow that line.

    That's a pretty big obstacle to overcome.

  103. JavaFX functions by AKELA501 · · Score: 1

    function z(a,b) {
               var x = a + b;
               var y = a - b;
               return sq(x) / sq (y);
            }

            function sq(n) {return n * n;}

            function main() {
               return z(5, 10);

    {~:~}+nt9
            }