| Author |
JavaFx and RESTFul services
|
Nikes Shah
Ranch Hand
Joined: Jul 18, 2007
Posts: 123
|
|
Hello all,
What type of data can be processed using JavaFX? Is it compatible with RESTFul services?
If I get response in JSON format, how can I parse it?
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50691
|
|
|
There are many JSON parsers out there. Why do you think it'd be any different than in any other Java application?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Gail Anderson
Author
Ranch Hand
Joined: Jul 07, 2009
Posts: 44
|
|
Hi Nikes,
Good question. JavaFX supports RESTful web services with class HttpRequest and parsing with pull parser classes for JSON and XML. Our book shows you how to use this technology (Chapter 9: Web Services) and ends with a cool animated carousel displaying photos from flickr. No need to dip down into Java for this.
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50691
|
|
|
Now that's cool!
|
 |
Nikes Shah
Ranch Hand
Joined: Jul 18, 2007
Posts: 123
|
|
Thanks all for quick reply
Actually I am doing R&D on one opensource ECM product "Alfresco".
In this product there is new type of API called WebScripts. It supports calling mechanism like URL.
Alfresco people say that RESTFul access is faster than others.
Our company wants to develop some custom web app which talks with Alfresco.
So just thinking JavaFX and RESTFull api of Alfresco combination.
Thanks,
Nikesh
|
 |
Eric Bruno
author
Ranch Hand
Joined: Jun 15, 2009
Posts: 60
|
|
Also, the book "JavaFX: Developing Rich Internet Applications" has an entire chapter dedicated to JavaFX and REST, including using XML and JSON-based web services. You can check this out here: http://www.informit.com/store/product.aspx?isbn=013701287X
Also, you can find sample code for all of this at www.jfxbook.com
-Eric
|
 |
 |
|
|
subject: JavaFx and RESTFul services
|
|
|