CGI
Common Gateway Interface is a specification for transferring information between a web server and another program. A CGI program is any program designed to accept and return data that conforms to the CGI specification. Most commonly used languages are C, C++, Perl, or Java. However, CGI has some security weaknesses, and does not scale as well as Java Servlets or other multi-threaded architectures.