Can anyone suggest me are there any major drawbacks if we use class object extending some base servlet as action handler rather than using common classes.
See this way i am saving myself from the overhead of instantiating classes in my controller everytime a request is made and garbage collection by the JVM ,and if suppose around thousands of hits at a time could lead to memory overflow error.On the other hand a servlet intialised once could be faster and efficient /easier way i suppose.
 
Ur comments would be acknowleged.....
Thanks
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to