BLOG

MY PERSONAL JOURNEY

DIFFERENCE BETWEEN GENERICSERVLET AND HTTPSERVLET PDF

Before going for differences, first let us see how the three Servlet, Observe the hierarchy and understand the relationship between the three. The main difference between GenericServlet and HttpServlet is that the GenericServlet is protocol independent and can be used with any. hi whats the main difference between Generic & httServlet??.

Author: Gardami Jusar
Country: Reunion
Language: English (Spanish)
Genre: Love
Published (Last): 1 February 2006
Pages: 231
PDF File Size: 8.22 Mb
ePub File Size: 12.65 Mb
ISBN: 250-5-59657-661-1
Downloads: 85936
Price: Free* [*Free Regsitration Required]
Uploader: Mezile

Very interesting content which helps me to get the indepth knowledge about the technology.

HttpServlet gives a blueprint for Http servlet and makes writing them easier. Usage service method genericservlft not be overridden. A prime difference between GenericServlet and HttpServlet is that the GenericServlet is protocol-independent while the HttpServlet is protocol-dependent.

Post as a guest Name. As the name implies, it serves a client request and receives a response from the server. GenericServlet class is direct subclass of Servlet interface.

Venkat Talluri 2 June at Today most web applications use HTTP protocol. Nowadays Java has tons of job opportunities on various vertical industry. GenericServlet is just hytpservlet, a generic, protocol-independent servlet. Anonymous 28 July at GenericServlet is protocol independent, it means it can accept any protocol request.

  HCPL 3150 PDF

Difference between GenericServlet and HttpServlet

Furthermore, the immediate superclass of HttpServlet is GenericServlet. Servlet Interface to handle a servlet xnd. Kiran Mohan Reddy B 8 November at All classes, interfaces, and methods present in the javax.

When it comes to the Spring Framework and Java, Dinesh httpservlwt the list! Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Difference Between GenericServlet and HttpServlet

Servlet is a Java technology that helps to develop scalable and robust web applications. GenericServlet is the immediate subclass of Servlet interface.

Dinesh is passionate about the latest Java technologies and loves to write technical blogs related to it. Anonymous httpservlwt January at The immediate super class of HttpServlet is GenericServlet. It helps an individual in knowing the amount he has to pay or expect while betseen or selling the real estate respectively.

Servlet vs GenericServlet vs HttpServlet

HttpServlet overrides the service method in GenericServlet. With HttpServlet extension, service method can be replaced by doGet or doPost xifference the same parameters of service method. GenericServlet can forward and include a request but we can not redirect the request.

  LA JANGADA JULIO VERNE PDF

He is currently working as a technology manager at a leading bewteen and web development company. Moreover, public abstract class GenericServlet extends java. Rony 2 5 GenericServlet is genericservet class that implements Servlet, ServletConfig and Serializable interface that provide the implementation of all the methods of these interfaces except the service method. Servlets are platform-independent server-side components, being written in Java.

The API lists the exact differences. It is the super interface for the remaining two — GenericServlet and HttpServlet. Therefore, it is protocol independent.

Servlet is platform independent.

It contains 5 abstract methods and all gemericservlet by GenericServlet and HttpServlet. However, public abstract class HttpServlet extends and, GenericServlet implements java. Umesh Prajapati 19 October at