Difference Between Generic Servlet And HttpServlet?
>> Wednesday, June 1, 2011
Difference Between GenericServlet and HttpServlet:
1.)Generic Servlets are protocol independent, where as HttpServlet are protocol dependent.
2.)Generic Servlets are incompatible with HTTP methods,where as HttpServlets are compatible with HTTP Methods.
3.)GenericServlet will not give an option for developers to specify different types of request at client machine,where HTTPServlets are Developers friendly.
4.)For each and every request type(Get,Post,Put,..) GenericServlet will use same execution mechanism ,where as HTTPServlets will separate execution process for each and request type.
1.)Generic Servlets are protocol independent, where as HttpServlet are protocol dependent.
2.)Generic Servlets are incompatible with HTTP methods,where as HttpServlets are compatible with HTTP Methods.
3.)GenericServlet will not give an option for developers to specify different types of request at client machine,where HTTPServlets are Developers friendly.
4.)For each and every request type(Get,Post,Put,..) GenericServlet will use same execution mechanism ,where as HTTPServlets will separate execution process for each and request type.
0 comments:
Post a Comment