db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SML <de-...@lafn.org>
Subject shutting down derby db in tomcat
Date Thu, 11 Nov 2004 08:00:49 GMT
What is the 'best' way to deal with shutting down a derby db when the
data is used in jsp pages?  Do you shutdown when tomcat exits? What
happens when either the derby db or tomcat container crashes and
bypasses the shutdown script? Any problems, issues, corrections needed
on a db crash?

On a related question, is it better to open/close the db connection for
different queries on different jsp pages? or to keep a persistent
connection throughout the session?

Many thanks for your help. :)

Mime
View raw message