3 Types of Java Programs

Java programs can be Application, Applet or Servlet. Application is normally a program that you can execute on your Computer Desktop. An Applet is a unique type of web-based application that can be downloaded from a Web Server and executed inside a Java-enabled browser. Applets can also be distributed via the Internet or Intranet. A Servlet is a unique type of Java application that executes on the Server and can be called by a Client like a Web Browser. A Web Browser calls a Servlet where the Server executes the program logic and returns the result to the Web Browser in the form of a HTML webpage. As processing is performed on the Server, no plugin is required on the Client (Web Browser) unlike an Applet. JavaServer Pages (JSPs) make it easier to display the result of a Servlet on the Web Browser.

0 comments:

Post a Comment