What is the difference between Java and CGI?

What is the difference between Java and CGI?

- CGI is a common gateway interface and it is a protocol that is used to run programs on WWW servers. Whereas, Java is having its own standard APIs to, run the programs on WWW servers.

- CGI is having very high response when creating the Operating system shell. Whereas, Java is a light platform in giving the response when, creating the shell.

- CGI is not very scalable and not a secure object oriented platform to use. Whereas, Java is object oriented and very secure.

- CGI doesn’t have the separation between the presentation and business logic. Whereas, Java defines, the separation in a very clean manner and keep everything logically placed.

- CGI is platform dependent scripting language whereas, Java is platform independent language.
Post your comment