aspose file tools*
The moose likes JavaFX and the fly likes ajax feature for javaFX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "ajax feature for javaFX" Watch "ajax feature for javaFX" New topic
Author

ajax feature for javaFX

Tina Ma
Ranch Hand

Joined: Nov 29, 2007
Posts: 198
since JavaFX is used for GUI development, does it support AJAX feature. Can it be used for web2.0 website development? can anyone give me pointers to existing websites which have been developed using java FX?


Tina
SCJP 1.4, SCWCD 1.4
Dean Iverson
author
Greenhorn

Joined: Aug 30, 2009
Posts: 20
JavaFX is not a tool for developing Web 2.0 websites. It is a full featured language and graphical runtime (featuring a powerful scene graph) that you can use to develop rich client applications that will run on the desktop, in the browser, on mobile devices, and soon, even on TVs.

That said, if you are familiar with JavaScript and CSS you should have no trouble picking up the JavaFX syntax.


Dean Iverson
book - blog - twitter
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61773
    
  67

That didn't really answer the question.

What is the JavaFX equivalent to using Ajax in DOM-scripted web applications?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Bear Bibeault wrote:That didn't really answer the question.

What is the JavaFX equivalent to using Ajax in DOM-scripted web applications?


JavaFX has some built in stuff like RemoteTextDocument that basically wraps HTTP communication for RESTful approaches. I pretty simplistic example of this can be seen here


GenRocket - Experts at Building Test Data
Sastry Kuppa
Greenhorn

Joined: Oct 02, 2008
Posts: 4
Yes it does support Asynchronous requests via javafx.io.http.HttpRequest.
It has callback's simillar to XmlHttpRequest.
More on it here: Java FX - HttpRequest
Tina Ma
Ranch Hand

Joined: Nov 29, 2007
Posts: 198
Thank you all. I am studying all these links and javafx looks really simple to use. Though I need to understand better WHY and in which scenario one should choose to actually javaFx for development.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ajax feature for javaFX