DataFX is a project that helps you to show data in a JavaFX application from different sources of data in a few formats. You may read local data using the FileSource and this datasource may contain data in XML or CSV formats. I demonstrated how to use it in a previous post , today I want to quickly show you show to fetch data using the new RestRequestBuilder class. RestRequestBuilder is very easy to use and with a few lines of code you will be able to fetch a JavaFX TableView from a remote XML, JSON or CSV source. As the name says, this class uses the builder way to create REST requests, which means that in a simple line of code you will have your request ready to fetch data in a TableView. Then you will simply have to inform to your datasource (as datasource you can understand a XMLDataSource or CSVDatasource ). Well, this post is very abstract so far, is time to use what we talked about in a program. To do that I want to present you a WEB Service I created a few years ago t...
Blog about programming and client applications. Target Programming languages are JavaFX, Visage, HTML 5+ Javascript or even command line apps :-D