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,053
  • 2
  • 17
  • 32

1 Answers1

0

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

dReAmEr
  • 6,600
  • 7
  • 35
  • 55