title: Using a single servlet object instantiation for all request
body: <p>On my web app I have a class with an object that will handle all requests of a certain kind. The web app is a clinic management system and each time a patient comes I would like the patient, P object, to manipulated by the single instantiation of the object. The object that needs to be single is my patient queue manager, QM. If I happen to have an instantiation of the QM for each each patient the server will be flooded with QM objects and also patients will actually not be on the same queue.I will appreciate any ideas about which utilities I will have to use to ensure the existence of only one QM object when the application is running.</p>