wood burning stoves 2.0*
The moose likes Servlets and the fly likes diffentiate normal java class and servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "diffentiate normal java class and servlet" Watch "diffentiate normal java class and servlet" New topic
Author

diffentiate normal java class and servlet

Vijay P
Greenhorn

Joined: Jun 17, 2006
Posts: 10
How can we differentiate a normal java class and servlet?
Ela Jha
Greenhorn

Joined: Jul 17, 2006
Posts: 12
Servlet extends HttpServlet or Generic Servlet,
Servlet is a java class but some features which makes it special or servlet.
it is managed by a servlet container example tomcat.
it is used for handelling requests and then passing on the request to the class handelling business logic or to forward to another JSP.
it acts as controller generally not for performing buisness logic.
it handles requests & sends response through HttpResponse object.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: diffentiate normal java class and servlet
 
Similar Threads
calling servlets from normal java class
Servlet
Servlets class
Final value in a Servlet
Compiling Servlet