Julian Tillmann wrote:
> my question is simple: is an action finalized when the user hits the "back"
> button of the browser?
>   

Good heavens no.

Actions are only instantiated once during application lifetime*. If
you're lucky enough to have finalize called at all it would be when the
server is shutdown/restarted.

The only legitimate use for a finalize method, btw, is to clean up
non-Java resources (external memory allocated through JNI, closing a
file, etc.) I suppose you could put something DB-related in here, but a)
certainly not in this case and b) you'd be *much* better off putting it
elsewhere.

Dave

* YMMV



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to