Tuesday, June 5, 2007 10:18 AM
I am facing a problem,
I am using jboss server to run my application.
Whenever i press Ctrl+ C on jboss console, its getting shutdown and all the modules are getting undeployed(EJB's).
But i wanted to perform some action before JVM shutting down. I have a finalize() method in one of the class. but it is not getting called.
how can i do it, if i want to perform, something before JVM gets shuts down.