There are three types of gateway:
A) CGI (Common Gateway Interface)
B) ISAPI (Internet Service Application Interface)
C) Tomcat