How Trigger Action When Application is Shut Down?

J

johnhurt

I have an MDB EJB application that stores cached data and want to save
that to a database when someone shuts down the app via the App server.
So I used the destroy() method on the MDB EJB. When the AppServer is
shut down, it looks like it first shuts down the Web Module, then next
shuts down the EJB module. My database helper classes are in the Web
Module. Will this work? Is this the right way to save the cache
contents upon application shutdown from Websphere Admin console?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top