Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax feature for javaFX

 
Tina Ma
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Dean Iverson
author
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That didn't really answer the question.

What is the JavaFX equivalent to using Ajax in DOM-scripted web applications?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sastry Kuppa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic