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?
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.
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
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: 194
posted
0
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.