users@glassfish.java.net

Re: EJB lifecycle, how to catch EJB unload event

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Nov 2007 07:53:12 PST

In ejb 3, you can have a @javax.annotation.PreDestroy method in your stateful bean:

    @PreDestroy
    private void releaseResources() { }

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

http://forums.java.net/jive/thread.jspa?messageID=247369