Embedding HSQLDB in Tomcat.
I found an interesting article on Embedding HSQLDB in Eclipse, but what I really want to do is to embed HSQLDB in Tomcat. Is there an easy way to add a "lifecycle" plugin to Tomcat so that HSQLDB is started by Tomcat startup and shutdown by Tomcat shutdown .
Dave Johnson
in Java
• 🕒 04:42AM Jun 21, 2004
Tags:
Java
Posted by Euxx on June 22, 2004 at 04:36 AM EDT #
Posted by Dave Johnson on June 22, 2004 at 11:15 AM EDT #
The great thing about using the context listener is that different applications don't see (or must not see) each other's database. And that could mean less locking.
Btw, if you need two webapps to see the same database, either they are the same application, or one of them is not web-based.
Posted by Tiago Silveira on June 22, 2004 at 05:39 PM EDT #