Uwe Grauer wrote:

Hi Experts,

after getting a bit familar with WebKit i'm still confused on where to store
Database Connections.
The idea is, to have a Pool of DbConns where a servlet will get a Connection
on awake() and releases it again to the pool on sleep().
I can't think of opening the DB at every run of the servlet.
If the servlets are in different threads, i have to have one DbConn for every
servlet (thread).


So i think, DB-Conns should go into the Application.
But then, how do i get to the Application level of storage?
What about thread-locking to get variables, which are outside of the thread?


How are you people handling this?

Any Pointers to Docs about this?

Thanks for any help on this, since i still have no clue about this,

Uwe

Is the superclass the place for application specific variables?
If so, please explain a bit.

Thanks,
   Uwe



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to