V
V
Valera Programmer2016-07-07 14:42:20
Java
Valera Programmer, 2016-07-07 14:42:20

How to save the state of the program?

I am writing an application in javaFX + Spring.
During operation, one object is often used and modified, which is partially responsible for the state of the application. When the program is closed, this object must be saved and read when opened. how it is better and expedient to implement this by Serialization or XML, or another option?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Malyarov, 2016-07-07
@noddux

Create XML, and parse it when the program starts, and if not, create and write basic properties.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question