I need delete from DataBase when the server is shutting down.
I have a JSF ManageBean SessionScope with a method (@PreDestroy) wich delete from DataBase.
When session time-out, the method is invoked correctly, but when the server shutdown it never callback this method.
Could anybody help me??
Thanks a lot
Retrieving data ...