When the JVM ran (actually written in Scala, but I am inclined to believe that the solution will be almost the same as for Groovy, Clojure or pure Java), my console program ends with the Ctrl+ button C(or the system shutdown sequence, I don’t know is there any difference for the program), how can I make sure that external resources change by the application (databases, files, abstracted web service resources) remain in a predictable, not logically damaged state?
source
share