How Trigger Action When Application is Shut Down?

Discussion in 'Java' started by johnhurt@gmail.com, May 5, 2006.

  1. Guest

    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?
     
    , May 5, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anders Both

    Shut down of asp.net process.

    Anders Both, Jan 11, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    642
    Hermit Dave
    Jan 13, 2004
  2. Michael Persaud

    Shut Down Machine

    Michael Persaud, Jan 22, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    490
    George Ter-Saakov
    Jan 22, 2004
  3. Steve
    Replies:
    0
    Views:
    468
    Steve
    Jan 31, 2006
  4. erdem
    Replies:
    5
    Views:
    515
    Howard
    Aug 16, 2006
  5. erdem
    Replies:
    2
    Views:
    272
    erdem
    Aug 15, 2006
Loading...

Share This Page