File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Creating Servlet Without Exending? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Creating Servlet Without Exending?" Watch "Creating Servlet Without Exending?" New topic

Creating Servlet Without Exending?

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
It is possible to create a servlet witout extending HttpServlet, Servlet and Generic Servlet. Whether it is possible to create a servlet with extending some other classes/interfaces??
[ July 02, 2006: Message edited by: Bear Bibeault ]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
There is no need to use the existing classes, but it must implement the Servlet interface. The existing classes do a lot of work, though, which otherwise the servlet developer would have to do - why reinvent the wheel?
I agree. Here's the link:
subject: Creating Servlet Without Exending?
jQuery in Action, 3rd edition