Java WebServer is an example of a general server solution, providing execution of Java programs called servlets.
-
Other web servers, including Apache, can also be configured to have servlets.
|
Servlets are protocol- and platform-independent server side components that can be dynamically loaded like applets
-
or can be considered as server side counterpart to applets
-
or Java application components which are loaded, on demand
|
Servlets differ from other Java programs in that they are faceless ( without any graphics )
|
Servlets can be used for the user JDBC code and can be invoked from the Java or HTML client side interface in many ways, one of which is of the form:
-
http://host-name:port/servlet/servlet-name
|