9. Web Services
Web services open up a whole world of data. Whether you’re interested in the weather, real estate values, stock quotes (probably not), videos, buying things, finding restaurants, or finding airline flights and hotels, there’s a web service API out there that probably provides the data you’re looking for. In this chapter you’ll learn how to call web services with JavaFX using HttpRequest to invoke the web service and Pull-Parser to process the response document. You’ll see how to do this first without actually invoking a web service. Then, you’ll use the Flickr web service API to build examples with “real data.” This chapter uses the JavaFX Image and ImageView classes along with concepts presented in the previous chapter for working ...
Get Essential JavaFX™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.