I have an web based application in which the servlet creates the instances of beans in its init() method. As far as I know there will be only one instance of servlet and the beans throughout the application. Does this have any effect of the application performance depending upon the no. of users?.
"Failure is not when you fall down; its only when you fail to get up again."
posted 11 years ago
Depends whether different threads (from different requests) have to contend for exclusive access to any resources used by the servlet and/or beans.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.