JavaFx Offline Function?

Recently, we are looking for the opportunity to use JavaFX as a standalone RIA client.

The idea is that the user can use the netbook to work with the application or without an Internet connection. When connected to the Internet, the user can interact with the server through web services. Without an Internet connection, the data and transaction will be stored on the client and synchronized after the connection starts again.

Someone is pointing me to JavaFX. After reading some specifications and tutorials, I found that most of them are focused on creating a user interface. Therefore, I do not quite understand how it can work with offline storage and synchronization? Does anyone know about this?

Actually, this requirement makes me think about Google Gears, not about JavaFX.

+3
source share
2 answers

JavaFx is a collection of Java-based technologies.

The goal of JavaFx is to simplify the assembly of RIA / Desktop GUI applications in Java.

In addition, JavaFX has built-in support for invoking REST services and parsing XML or JSON. It can also cause SOAP, although REST is more likely in the RIA.

Also, since JavaFX in RIA can be run as a Java applet. The new JVMs that run JavaFX are much faster and more stable than the original Java applets that gave the Java UI such a bad impression. In addition, the applet can now be dragged from the browser to the user's desktop.

JavaFX , . , - . , , , Java.

+3

JavaFX .

, javafx.io.Storage javafx.io.Resource, , , Java . javafxdoc

, Java- .

+1

Source: https://habr.com/ru/post/1716184/


All Articles