.

Saturday, August 17, 2013

Anna Hazare

SERVLETS Q&A oral devolve on: What is a Servlet? Answer: java Servlets atomic number 18 legion locating comp hotshotnts that go aways a powerful weapon for development server cheek of web application. Earlier CGI was develop to bequeath server side capabilities to the web applications. Although CGI played a study role in the explosion of the Internet, its performance, scalability and reusability issues make it slight than optimum solutions. Java Servlets changes all(prenominal) that. Built from ground up use Suns write erst run anywhere technology coffee bean servlets provide excellent framework for server side processing. Question: What ar the types of Servlet? Answer: There are two types of servlets, GenericServlet and HttpServlet. GenericServlet defines the generic or protocol independent servlet. HttpServlet is subclass of GenericServlet and provides most http particular(prenominal) functionality linke doGet and doPost methods.  Question: What are the differences amid HttpServlet and Generic Servlets? Answer: HttpServlet Provides an synopsis class to be subclassed to stool an hypertext transfer protocol servlet worthy for a Web site.
Ordercustompaper.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!
A subclass of HttpServlet must override at to the lowest degree one method, usually one of these: * doGet, if the servlet supports HTTP accept prays * doPost, for HTTP POST begs * doPut, for HTTP PUT requests * doDelete, for HTTP withdraw requests * init and destroy, to fare resources that are held for the bread and butter of the servlet * bewitchServletInfo, which the servlet uses to provide information about itself Theres or so no reason to override the helping method. service handles banner HTTP requests by dispatching them to the handler methods for each HTTP request type (the doXXX methods listed above). Likewise, theres almost no reason to override the doOptions and doTrace methods. GenericServlet defines a generic, protocol-independent servlet. To write an HTTP servlet for use on the Web, extend HttpServlet instead. GenericServlet implements the Servlet and ServletConfig...If you penury to get a full essay, pose it on our website: Ordercustompaper.com

If you want to get a full essay, visit our page: write my paper

No comments:

Post a Comment