I have a java application. It can be started with couple of command line flags. I want to provide ability \"restart\" the application by user.
Currently we save the
Why not serialize and create the object again from disk when restarted?
You will need to implement the Serializable interface in a "CommandLineParams" class to do this.
Serializable
"CommandLineParams"
I think it's the most structured way to accomplish what you are trying to do.