Santy
Originally posted by dev smart:
HI friends,
i.e. 5 request will create 5 instance of servlet with connection object.
Originally posted by Neeraj Vij:
hi,
create the connection object in init() method.
cheers,
neeraj.
Santy
Originally posted by Santosh Jagtap:
see basically wat is connection pooling
server maintains the pool of connection object as per configuration
(i.e. minimum instances and maximum instances)
so any request comes for connection then server gives one object from the pool to tht request.
so there is no question of one object throughout the transaction..
Santy
Originally posted by Santosh Jagtap:
agreed ,but in tht case i wont write three transactions in one method i'll seperate those three trans.
then it will work right?
Santy
Originally posted by Neeraj Vij:
hi,
create the connection object in init() method.
cheers,
neeraj.
42