I am using the following code in a stand alone java application as well as in a web application so, now my q is in a stand alone env only one instance of ConnectionManager is created per JVM (per client) correct? In a web environment only one instance of ConnectionManager is created per request is that correct?
Originally posted by srilatha mahankali:
But i have one more q though, in case of a web application let's say that three different clients from three different computers are accessing my web application in that case three different ConnectionManger instances are created right?
One more thing each instance of ConnectionManager can create no of connections right how can we limit this. In my case on our Websphere app server max no of connections allowed per connection are 10 if it exceeds more thant that what happens.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Nothing? Or something? Like this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|