Sun Microsystems lost the first Rich Internet Application (RIA) war when Macromedia (now part of Adobe) ate its applets for lunch following a schoolyard brawl. Now Sun has a second chance. But, to succeed in such an unforgiving market, Sun needs something special. A mature, powerful platform, a buzzing community, some seriously …
Thanks for this article, Matt
I appreciate the spirit in which this article was written, and share your sense of urgency. By the way, the demo the "just looks a bit nasty":
is a very basic example of binding in JavaFX Script. The "Watch for Falling Blocks: Take TetrisJFX for a Spin post":
contains a Tetris example that is meant to look more appealing.
I think one needs a lot of imagination to state that Java2D is excellent. The typical java zealot may be pleased by Java2D API, which are over-engineered as everything else. Take the Image/BufferedImage, for example: lots of classes and the performance still sucks. The only way to have decent graphics performance in Java is using jogl, which cuts out all the unnecessary bloat in Java2D.
GOD, NO, PLEASE NOT MORE OPPORTUNITIES FOR RIA CRAP!
"You'd want someone's first experience with a "Hello World!" application to blow their socks off visually, not make them recoil."
No, Matt Stephens, I want a working web site that gives me info that I need and does not overload my browser with non-standard excrescences produced by "...people with an eye for visual design" (and no understanding that a web site has a purpose beyond looking pretty and permitting the someone some design willy-waving) and thereby exposes my machine to security problems. Where does security figure in your scheme?
I'm sick of articles like this that promote stupid, witless, incompetent designs. I'm sick of web designers that haven't a bloody clue. I'm sick of turning off jscript/flash/bloody everything in firefox just to have sites fail to render, which would work if they'd been written with a trace of common sense. I'm sick of having to put up with crap pushed by people like you.
Some sites/apps need RIA. Very few.
Ach, hell. You'll come back with some content about Content Is King, but will you change? Do you care? Did you read last week's Verity Stob, because it was damn well aimed at exactly this problem.
JavaFX? What's that?
There is a major brawl coming: between Silverlight and Flash/ Flex/ AIR. JaxaFX might snap at the ankles of these two combatants like some demented hamster, but it is more likely to be crushed underfoot, than be noticed and considered a worthy opponent.
nice JavaFX examples
nice JavaFX examples - http://molgav.nn.ru/surikov/files/jfx/JFXNote.html
Unfortunately, the people who actually pay for websites don't share your perspective. It's not the author's fault that customers want rich, flashy, sexy web pages for their businesses (a few of them actually want content too, although that request is more rare...) The truth is that once average joe saw what you could do once you stepped out of the bounds of standardized markup languages, everybody wanted it. And the people that said 'no, that's stupid' found themselves out of work.
Thanks, and I take your points well made. I wasn't entirely fair on the article's author; it is as much or more those who commission these stupid fucking sites, but in any event it is a pox now and a means of lock-in in the long term. Big business fighting for their own benefit and damn what happens to the web, useful information, and usability.
I blame everyone: the designers, those who commission the sites, but I guess most of all the public that puts up with it.
As somebody who turns off just about anything in firefox except plain markup I get very frustrated with sites commissioned by, and signed off by, morons.
But that's just IT to the hilt, is it not.
Oh, I just rediscovered a lovely example I sent to a column writer who was on an RIA roll: <http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.win32.programmer.networks&tid=0058f9f5-48d6-4aeb-969f-d414c9b6140d&p=1>
Load it with Jscript disabled and notice the flicker; it displays (or did when I originally found it) useful info, then removes it and displays a warning that I need to endable scripting - FFS!
It gave me the data (plain text) and then removed it! I know it's MS but in fact I've seen other sites do just as badly in quite remarkably novel ways.
Sorry for the rant, gents (& ladygents, if any).
That's a winning example.
if (browser is opera)
Anyway, FWIW I think the trouble has three main root causes:
1. Some people like pretty colors and animations. Businesses are trying to attract those people.
Or else you can skip all the RIA crap and give people a real desktop app built on Eclipse RCP. Already has plenty of tooling, even a (god-forbid) WYSIWYG editor if you are that way inclined. Deploy it using WebStart and off you go.
And if you are really going to insist on RIA, then use Eclipse RAP (Rich Ajax Platform) - light years ahead of NetBeans.
read more carefully before misleading your readers
I'm guessing you didn't read my interview all that carefully as I was pretty clear about JavaFX's target audience:
"In terms of the general target audience, we obviously have to focus initially on meeting the needs of a specific community, which is the RIA crowd"
Since Adobe invented the "RIA" acronym (ugh), I'm not sure how this is "not a clear answer". ?
The reason I spoke in more detail about the JavaFX scripting language itself (which would be equivalent to speaking about the target audience for ActionScript3.0 vs. the Flash solution as a whole) is because the interview was speaking to Java developers who are currently questioning the purpose of inventing a new language for the VM. And, since we haven't yet released the designer tool (brownie points for you in pointing that out) we are constantly asked if we expect designers to author FX script by hand. Here was my explanation:
There's no question that meeting designer's needs is at the center of all of this (and I think I made that pretty clear too). The proof that we get this will come when we release appropriate tool support. Fair enough.
And finally, if appealing also to developers isn't important, then why is Adobe trying so hard to woo them?
RIA vs. Desktop App?
I agree with CTG's comment that "HTML was not designed for applications, end of story" although I'm not sure that this precludes using the browser to display other forms of content.
The concept of enhancing the browser to support complex user interfaces and asynchronous data access is something that I tried to encourage in an Open Source project called UIDL (http://www.uidl.net/) which actually pre-dates JavaFX. In any case, I think the approach of using a scripted version of Java for the front end is spot on, so I'm hoping that JavaFX is successful.
JavaFX will surprise
We've been developing a large scale enterprise application that is relying on JavaFX to present the UI. Granted, FX is "young" but we are very pleased with the progress of the language and the tools so far.
There is a team of experienced and dedicated pro's at Sun and within the community creating something very special and most important, Sun's executive leadership is really behind the effort.
I think JavaFX is going surprise a lot of people.
Thom Theriault, CTO
- Updated Zucker punched: Google gobbles Facebook-wooed Titan Aerospace
- Elon Musk's LEAKY THRUSTER gas stalls Space Station supply run
- Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
- Mounties always get their man: Heartbleed 'hacker', 19, CUFFED
- Android engineer: We DIDN'T copy Apple OR follow Samsung's orders