Skip to main content

Blog Archive for km during February 2007

Java provides a way to add a shutdown hook that will be called during the VM's exit sequence and semantics of that are clearly defined in the Javadoc here. The Javadoc clearly instructs If the virtual machine aborts then no guarantee can be made about whether or not any shutdown hooks will be run. I was just curious to test this out with GlassFish Application Server on my MacBookPro. When the...