Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX for web apps?

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

When the world is moving together with the internet....what advantage would JavaFX have when it is suited only for desktop apps??
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, even though a lot of applications are being moved from the desktop to the web browser, that doesn't mean that every application should be a web application.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition to what Lasse said, the boundary between web apps and desktop apps are blurry - e.g. JavaFX apps can be deployed via Web Start.

Also, who knows what else Sun is cooking up? They mentioned that JavaFX will be a whole range of products and technologies, and we've only seen the first ones.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm keeping my fingers crossed for the JavaFX thing and I will be the happiest person when they release out something that will have to do with web apps and a good replacement for AJAX.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember seeing somewhere people saying that JavaFX is a AJAX killer....is this true?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember seeing somewhere people saying that JavaFX is a AJAX killer....is this true?


So far, JavaFX looks like a different way to write and deploy JVM applications, so I'm not sure where the competition to AJAX would come from.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw this at this link,

http://www.google.co.in/search?hl=en&q=Java+FX+AJAX+killer&btnG=Google+Search&meta=
[ June 22, 2007: Message edited by: Jothi Shankar Kumar Sankararaj ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
None of those articles seriously mention JavaFX as an AJAX killer. Which statement in which article are you referring to in particular?
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just meant the title that I used to search...
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15369
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not just for desktop applications. You'll be able to run applets with JavaFX, that's how you'll be using JavaFX in web applications. Notice the parallels:

Java/JavaFX Script - ActionScript/MXML - C#/XAML
Java plugin - Flash plugin - Silverlight plugin

All the same kind of technologies for more or less the same kind of applications. JavaFX has the potential to become a competitor for Flash. Sun's demos already have the look and feel of Flash.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But who uses Applets these days?? If JavaFX is meant only to run Applets, then it really dosen't interest me...but instead I guess JavaFX is more than than and we actually have to wait and see what comes out.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15369
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When JavaFX becomes useful and the JRE and the Java plug-in become more modular and easier to install as promised by Sun, then there will be new interest in applets. Those applets won't look like the clunky old applets with Swing or AWT GUIs that have been out of fashion for some years already; there will be flashy, interactive, nice looking applets with JavaFX GUIs. Maybe we shouldn't even call those things 'applets' anymore, since that word seems to have a negative connotation.

Note that Flash and Silverlight are both browser plug-ins, exactly like the Java plug-in. Flash and Silverlight both, exactly like Java, work with some kind of bytecode behind the scenes. It's all exactly the same but with different names...
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good...understood the concept. Thanks for the clarification!
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15369
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
None of those articles seriously mention JavaFX as an AJAX killer. Which statement in which article are you referring to in particular?


Have a look at this one:
Does JavaFX Spell The End Of AJAX?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jesper Young:
Have a look at this one:
Does JavaFX Spell The End Of AJAX?


Yeah, I saw that article. It contains so many confused/confusing and flat-out wrong statements that it's hard to know where to begin refuting it.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what exactly does that article tries to convey? I'm not able to understand. In what sense are they conveying JavaFX to be an AJAX killer?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically that headline is just to get you to read the articles.

I have been looking into JavaFX for an article.

Right now JavaFX is good for creating user interfaces MUCH spiffier than anything that HTML and JavaScript can create. However, the integration of XML parsing support seems to be totally lacking. When that gets rolling JavaFX will be more interesting.

I really dont see JavaFX script competing directly with browser plus AJAX, much more attractive as desktop apps which flexibly access web services.

The real competition is with Flash apps created with Flex "programs" - right now Flash is way ahead.

Check this developer blog out for spectacular JavaFX apps.

Bill
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Expecting something out from JavaFX soon for webapps!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic