answersLogoWhite

0

Both the GenericServlet and the HttpServlet can be used to create Servlets for a j2ee application. The only difference is that the HttpServlet can be used only for applications that use the Http protocol and not any other protocol but the GenericServlet can be used for any protocol.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the differences between C and Java reference variables?

Java does not have the concept of Reference Variables. We cannot access the memory location where the data is stored in Java.


What class is a new servlet usually inherited?

The servlet class created in web applications usually extend the javax.servlet.HttpServlet class. The HttpServlet extends the javax.servlet.GenericServlet. These classes contain the basic features that are required to run a web application.


What are the main differences between Java and C plus plus?

the difference is that c plus is better because you get big grades


Differences between Java Applet and Java Beans?

Java applet is a program used to run java applications while beans is a compiler used to design java programs (IDE, GUI) :-) GilbertC


Major difference between java and cpp?

CPP typically stands for the C PreProcessor, which does macro expansion on C source code. What I suspect you want to know are the differences between C++ and Java. See the links below for more information on that topic.


What are the differences between Java OOP and PHP OOP?

JAVA is an Object Based Programming Language. it doesn't provide multiple inheritance and operator overloading. while Object Oriented Lanuages provides both.


What are the differences between java language and net language?

I took a Introduction to Java course last year. I had the same question when I started the class http://www.DevelopIntelligence.com/catalogue/java-training.php. But I learned that Java and .NET are both platforms that run applications. Both platforms use something known as a virtual machine. In the Java platform, the primary programming language use to write applications is called Java. In the .NET platform, the programming language choices include VB.NET, C++.NET, C#.NET. In other words, there is no "difference between the Java langage and the .net language" as there is no "net language". The Java language is most similar to the C# language in .NET. There are some technical differences, but in general they are about the same.


What are differences between PHP and Java?

PHP and Java.. hummPHP is a programming language to make websites and scripts on the web.. while Java is an hardware programming language, please be advised that you can use Java applications on the web by using applets...But generally Java will be used to develop hardware applications..But if you meant JavaScript instead of Java:JavaScript is an client side language that help you change/modify your elements on your website without reloading page.


What is difference between java 2 and java 5?

They are different versions. Java 5 is newer than Java 2. Think of it like the difference between the Playstation 1 and the Playstation 3.


Major difference between c and java?

Java is object oriented, C is not...


What is the main difference between UNIX and JAVA?

Unix is an operating system, Java is a language.


What is different between conectivity in java?

Connectivity in Java can be affected by internet connection, as well as the type of Java. There are times that if there is a poor connection, it can cause Java to not work properly. Java should be updated regularly.