*
The moose likes Other Languages and the fly likes JavaFX for web apps? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "JavaFX for web apps?" Watch "JavaFX for web apps?" New topic
Author

JavaFX for web apps?

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

When the world is moving together with the internet....what advantage would JavaFX have when it is suited only for desktop apps??


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
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.


Ping & DNS - my free Android networking tools app
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

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

Joined: Sep 26, 2006
Posts: 9345
    
    2

I remember seeing somewhere people saying that JavaFX is a AJAX killer....is this true?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
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

Joined: Sep 26, 2006
Posts: 9345
    
    2

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
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
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

Joined: Sep 26, 2006
Posts: 9345
    
    2

I just meant the title that I used to search...
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

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

Joined: Aug 16, 2005
Posts: 14074
    
  16

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

Joined: Sep 26, 2006
Posts: 9345
    
    2

Good...understood the concept. Thanks for the clarification!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

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
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
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

Joined: Sep 26, 2006
Posts: 9345
    
    2

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

Joined: Mar 22, 2000
Posts: 12759
    
    5
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

Joined: Sep 26, 2006
Posts: 9345
    
    2

Expecting something out from JavaFX soon for webapps!
 
Consider Paul's rocket mass heater.
 
subject: JavaFX for web apps?
 
Similar Threads
Monetizing JavaFX
Is JavaFX ready or still under development
Enterprise JavaFX
Java FX vs Flex for RIA applications
Swing or SWT with Android