Java Applets and applications and servlets

Some of programs that we come across in Java programming.
  • Applet programs.
  • Application programs.
  • Servlet programs.

  • Applet programs.
In applet programs, we have programs, which can be embedded within a web page. It is widely used as a part of Internet programming. When a web page containing an applet is opened in a web browser, the applet is downloaded from the server machine to the client through the Internet. The applet is executed as a part of web page on client web browser. Applets are used to create games, interactive programs, animations and develop multimedia effects on web pages, making them more attractive.
  • Application programs.
In application programs, we can create programs, which can perform a particular task. Java application programs are general programs like those written in any other programming languages.
  • Servlet programs.
Java programs are used for web programming (programming for the Internet). The difference is that servlets are always executed on the server machines, whereas applets are always executed on the client machines.
Previous
Next Post »