This question is very basic; but I am confused so please I am sorry if you are irritated. I just know that CGI is a standard/protocol.
1> Is mod_(perl/python/ruby) an implementation of CGI or is it an alternative?
2> If it is an alternative then, conceptually, is it similar to Java Servlets?
mod_(perl/python/ruby) is an alternative to CGI – the
mod_[somebinding]apache modules try to avoid the performance penalty of CGI by using Apache’s native interfaces.The analogon between
mod_[somebinding]/ApacheandServlets/Java Application Serveris valid, but I would prefer something like