Web Server (HTTP 1.0)
The
OSI
reference model has an Application layer, which
allows computers to comunicate with each other via protocols.
HTTP is one of these protocols that works on top of TCP/IP (see Tim
Berners Lee).
Sometime ago, I wrote an HTTP web server. I only implemented the GET request and
provides directory listings. It follows the version HTTP 1.0.
This server makes use of Java threads, so that each request is served
on its own. If you are interested, the source code is here.
BTW, the J in the file name, JWebServer.java, stands for Jose, not Java
(TM). |