Cameron Wallace McKenzie wrote:>>About as true as saying Java is write once, run anywhere.
Well, that's never been true for divergent platforms, nor was it ever really the promise. That motto was really more applied to desktop apps than anything else. A Java program written for the desktop was never intended to run as an HTML page or a micro-device. And an applet was never really indented to be run as a Java application. I mean, an Applet doesn't have a main method.
I thought the promise of JavaFX was that one program developed naturally could run as a desktop app, micro-device app and as a web page. Is it anything close to this?
-Cameron McKenzie
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Burk Hufnagel wrote:
Cameron Wallace McKenzie wrote:>>About as true as saying Java is write once, run anywhere.
Well, that's never been true for divergent platforms, nor was it ever really the promise. That motto was really more applied to desktop apps than anything else. A Java program written for the desktop was never intended to run as an HTML page or a micro-device. And an applet was never really indented to be run as a Java application. I mean, an Applet doesn't have a main method.
I thought the promise of JavaFX was that one program developed naturally could run as a desktop app, micro-device app and as a web page. Is it anything close to this?
-Cameron McKenzie
if you watch the general session videos from JavaOne, I think you'll see the "Rock 'n Rolla" app running on the desktop, in a browser, and on a cell phone. I don't think they showed it on a TV, but I'm pretty sure it was on the other three.
Burk
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Are you saying that the JavaOne demos were faked, or that they made JavaFX run smoothly so that JavaFX aplications present themselves well, i.e. provide a better user experience?Kengkaj Sathianpantarit wrote:That is only for show, they made it be able to run smoothly for presentation purpose.
OK, I'll bite, what do you mean by 'it runs incorrectly'?Kengkaj Sathianpantarit wrote:Ok, it runs, but runs incorrectly.
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Jim Clarke wrote:From personal experience, the same JavaFX code runs on the Desktop, Mobile, and TV. Obviously, you need to consider screen size and stick with the common profile classes (No Swing), but it is exactly the same code.
BTW: the exact same JavaFX code can run as a standalone client application, an applet or as Java Webstart. That is the beauty of JavaFX.
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Jim Connors wrote:In short, my experience is that JavaFX portability is much improved over Java, which one can argue is a very portable platform already.
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Burk Hufnagel wrote:
OK, I'll bite, what do you mean by 'it runs incorrectly'?Kengkaj Sathianpantarit wrote:Ok, it runs, but runs incorrectly.
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Kengkaj Sathianpantarit wrote:Try to develop an application using SWT, and run on Windows, Mac, Linux, you will get what I mean.
Before jump to a conclusion that somebody is trolling, you should have an evidence. What I said is true, you can ask anybody who used to develop SWT applications and run in several platforms.
I wonder, JavaFX aside do you really believe write once run anyway motto is true?
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
The harder you work, the luckier you get. This tiny ad brings luck - just not good luck or bad luck.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|