1 / 10

What is SERVLET in java

This ppt is to help you understand what is SERVLET in JAVA and various other aspects of java.<br>

Download Presentation

What is SERVLET in java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What is Servlet? WWW.NIITPUNE.COM

  2. For more information Contact : 9372011151, 9370011151 Email : zoheb.niitcamp@gmail.com

  3. Servlet technology is utilized to make a web application (dwells at server side and creates a dynamic web page). Servlet technology is strong and adaptable as a result of java language. Before Servlet, CGI (Common Gateway Interface) scripting language was prevalent as a server-side programming language. Be that as it may, there were numerous impediments of this technology. We have discussed these weights underneath. There are various interfaces and classes in the Servlet API, for instance, Servlet, GenericServlet, HttpServlet, ServletRequest, ServletResponse et cetera.

  4. What is a Servlet? Servlet can be depicted from various perspectives, dependent upon the particular condition. • Servlet is a technology i.e. used to make a web application. • Servlet is an API that gives numerous interfaces and classes including documentation. • Servlet is an interface that must be actualized for making any servlet. • Servlet is a class that broadens the capacities of the servers and reacts to the approaching solicitations. It can react to a solicitations. • Servlet is a web segment that is sent on the server to make a dynamic web page.

  5. Do You Know? • What is the web application and what is the distinction amongst getting and Post ask? • What data is gotten by the web server in the event that we ask for a servlet? • How to run servlet in Eclipse, MyEclipse and Netbeans IDE? • What are the courses for servlet coordinated effort and what is the distinction amongst RequestDispatcher and sendRedirect() technique? • What is the contrast amongst ServletConfig and ServletContext interface? • How numerous ways would we be able to keep up a condition of a client? Which approach is generally utilized as a part of web improvement?

  6. CONTINUED.. • How to tally an aggregate number of guests and aggregate reaction time for a demand utilizing Filter? • How to run servlet with explanation? • How to make enrollment shape utilizing Servlet and Oracle database? • How would we be able to transfer and download the record from the server?

  7. What is a web application? A web application is an application open from the web. A web application is made out of web parts like Servlet, JSP, Filter and so forth and different segments, for example, HTML. The web segments ordinarily execute in Web Server and react to the HTTP ask. CGI(Common Gateway Interface) CGI technology empowers the web server to call an outside program and pass HTTP ask for data to the outer program to process the demand. For each demand, it begins another procedure.

  8. CONTINUED.. Inconveniences of CGI There are numerous issues in CGI technology: • If various customers builds, it sets aside more opportunity for sending a reaction. • For each demand, it begins a procedure and a Web server is restricted to begin forms. • It utilizes platform subordinate language e.g. C, C++, Perl.

  9. Preferred standpoint of Servlet There are numerous preferences of servlet over CGI. The web compartment makes strings for taking care of the numerous solicitations to the servlet. Strings have a considerable measure of advantages over the Processes, for example, they share a common memory zone, lightweight, cost of correspondence between the strings are low. The basic advantages of the servlet are as per the following: • Better execution: since it makes a string for each demand, not process. • Portability: since it utilizes Java language. • Robust: Servlets are overseen by JVM so we don’t have to stress over the memory spill, rubbish accumulation and so forth. • Secure: in light of the fact that it utilizes java language.

  10. THANK YOU 

More Related