I have a very simple web app to develop - just a few pages that display
formatted results of queries against a preexisting database.  I'm trying to
pick a java framework to use while developing this, and I'm attracted to
stripes because of its apparent simplicity.

I was hoping that stripes would somehow handle the database connections for
me (including pooling, configuration, etc.), but that doesn't seem to be the
case.  Using something like hibernate is overkill for such a small project
(perhaps if I had already used hibernate in the past, I would use it now
too, but at this point I can't justify spending so much time learning it for
such a simple app).

So my question is - how do you handle database connection in your stripes
webapp?  Where do you create the connection and which classes include your
sql queries?

Taking the bugzooky app (distributed with stripes) as an example, if I want
to maintain the bug list in a database instead of in memory, in which class
should I create the initial database connection?  How would I share that
connection between the BugManager and the ComponentManager?

Thanks,
MS
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to