hi,
 
we have a servet application with possible number of users
around 1000. All the servlets ( there are around 30 servlets )
heavily make use of the database. should the connection objects
be in the init() method of the servlets? or should they be in the
service() method? if we have the connection objects in the init(),
do we need to synchronize the blocks in service() method where
these connection objects are accessed?
 
pls let me know if there is a strategy followed for writing thread-safe
and robust servlets when the number of users is large and the servlets heavily
use the database. pls respond asap.................
 
thanks,
______________________________________________
A Suresh
[EMAIL PROTECTED]
+ 91 - 040 - 7896008 ( Ext. 4611 )

Reply via email to