[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML/Convert.java



>

The smartest solution would be to do some kind of pooling like in
the RDBMS world.. I mean to recycle connection objects, and gc
them after some time of inactivity. Is there a way in ozone to see
from how much time a connection is inactive?

Johann

>
> > when creating a servlet wicht opens a connection to ozone-db
> > i connect to the database in the init method (to prevent from connecting
> > every time). now i can't shutdown ozone if there i a open connection so i
> > have to restart apache in order to shutdown ozone. is that behaviout
> > normal?
> So far we don't have a good solution for that. I'm not the servlet guy here but
> I think we have tried to connect every time as well as some kind of a static
> field to hold the connection for all servlets. Is there any better way to
> handle this?
>
> Falko
> --
> ______________________________________________________________________
> Falko Braeutigam                         mailto:falko@softwarebuero.de
> softwarebuero m&b (SMB)                    http://www.softwarebuero.de