Java Servlet Programing Laungage

Java Servlet Projects

Servlet Project 3

adplus-dvertising
Introduction of Servlet
Previous Home Next

what is Servlet?

A Servlet is Java-based Web component( like HTML or XML) is managed by Servlet container( part of Web server or application server), help to provided dynamic content. Due to Java based , Servlet are also Platform- independent Java classes that are compile by Java Virtual Machine( JVM) to platform-neutral byte code that can be loaded dynamically into and run by a Java interpreter.

Sometime web server and web container also called servlet engines because web server extensions that provided servlet functionality like; interact with web client via a request/response.

What is a Servlet Container?

A servlet is Java-based Web component( like HTML or XML) is managed by Servlet container( part of Web server or application server), help to provided dynamic content and life cycle of a Web page.A servlet container exhibit  security restrictions on the environment in which it executes, these restrictions should be placed using the permission architecture defined by the Java 2 platform.

why Servlet is best with other technology?

Servlet is placed between some program like Apache Modules( AM) , Netscape Server API( NSAPI), Microsoft provides ISAPI and Common Gateway Interface (CGI) but best due to-

  • Servlet are generally much faster than CGI scripts and Netscape server API( NSAPI) because a different process model is used.
  • Servlet can able to access the large set of APIs available for the Java platform.
  • Servlet have all the advantages of the Java programming language, including case of development and platform independence.
  • Servlet use a standard API that is supported by many Web servers.
Previous Home Next