• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

ajax feature for javaFX

 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67595
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic