|
What makes you believe that the Controller Servlet in the MVC
model has to be a Singleton Class.
Another thing as per my limited knowledge having a singleton class doesn't
mean that it implements a SingleThreadModel interface.It only means that
whenever the static getInstance method of the class is called only one
instance would be returned and the Class has a private constructor which
helps in achieving the above mentioned behaviour.
The performance of an application could suffer if the Controller
Servlet implemented the SingleThreadModel interface in my opinion.
Looking forward to your (Mr. Sandhu) as well as
others comments.
|
- MVC Issue Sachin S. Khanna
- Re: MVC Issue Rajinder Sandhu
- Re: MVC Issue Sachin S. Khanna
- Re: MVC Issue Rajinder Sandhu
- Re: MVC Issue Kevin Duffey
- Re: MVC Issue Harendar Bozza
- Re: MVC Issue Rajinder Sandhu
- Re: MVC Issue Kevin Duffey
