|First, we would like to clear the confusion that we perceive
same thing, neither are VB Script and Visual Basic.
Java is a full Object Oriented Programming (OOP) language created by Sun Microsystems. Java comes in two flavors, Java as an OOP language such as C++, and Java Applets. Java as an OOP language becomes platform dependent (it can run only in the operating system in which the program was created) and it can be used just like C++. On the other hand, Java Applets are platform independent (Applets can run in any operating system browser which support Java Applets) not caring whether the applet was created in UNIX, or Windows 95, etc.
VB Script is a script language created by Microsoft. This
language is embedded (typed-in) in the HTML code and is interpreted by
VB Script capable browsers such as Netscape 2.0 and above with plug-in,
and MS Internet Explorer 3.0x and above.
Visual Basic (VB) is a rapid development programming language created
by Microsoft. VB is platform dependent language. VB is used heavily in
the Internet to write CGI programs.
CGI stands for Common Gateway Interface. CGI is an interface used to pass information to a web server.
Normally, a CGI program is an executable program or script, which is run on the web server as a request from a browser (i.e. submitting a form). After the browser requests the execution of a CGI program, the program runs in the Web Server computer and then sends the results back to the browser.