All popular rich client platforms provide inherent support for local and remote data retrieval and persistence. JavaFX is no different. This chapter explores the tools that are available in JavaFX to access and manipulate data locally or remotely, and how to perform data visualization using the newly added JavaFX chart components.
Part of the recent additions to version 1.2 of the SDK includes the Storage API. This API is designed to provide secure and uniform data storage and retrieval services for client applications working in offline mode. This chapter shows you how to use the Storage API to store and retrieve data locally.
Part of the main features of a rich client platform is its ability to connect to remote servers in order to retrieve data. Similar to the popular browser-based XmlHttpRequest
object used to drive AJAX applications, JavaFX exposes the HttpRequest
object, which lets developers connect asynchronously to web servers...