UniverseUniversity


Home Projects Jobs Clientele Contact

uu


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

Re: UU code



Also, it isn't enough to have db handle to work with the database. We (in ideal case) should have CDatabase object staying alive through the whole session. I'm not sure - where to keep it, but it shoul be connected with the session data. Does it make sense?

2007/3/14, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>:
No.

sergey@total-knowledge.com wrote:
>> Servlet has a virtual init() method, that you can override. There you
>> can create your pool instance and store it in ServletContext attribute.
>>
>
> In order to do that my libdm' uudb class should extend HttpServlet and be
> servlet itself. Is it right way to do it?
>
>
>
>> --
>> Ilya A. Volynets-Evenbakh
>> Total Knowledge. CTO
>> http://www.total-knowledge.com
>>
>>
>>
>
>
>

--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com




--
Alexey Parshin,
http://www.sptk.net

Authoright © Total Knowledge: 2001-2008