1

Like the title says, is it possible to use JVM termination as a trigger to execute "clean up" code in a Java application?

CodeShaman
  • 2,131
  • 2
  • 19
  • 34

1 Answers1

0

Yes,you can write your clean up logic in shut down hook up.

dReAmEr
  • 6,986
  • 7
  • 36
  • 63