How JAVA changed the Internet
The Internet helped JAVA to the forefront of programming and JAVA in turn had a great impact on the Internet. While simplifying the web programming JAVA innovated a new type of networked program called the applet that changed the way the online world thought about content. JAVA also addressed some of main issues associated with the Internet like portability and security.
- Security : As we know when we download a normal program we are taking a risk, because the code that we are downloading might contai a virus of any other harmful code. At the core of the problem is the fact that malicious code can cause its damage as it has gained unauthorized access to system resources. In order for JAVA to enable applets to be downloaded and executed on the client computer safely, it was necessary to prevent an applet from launching such an attack. JAVA achieved this protection by confining an applet to the JAVA execution enviornment and not allowing its access to other parts of the computer.
- Portability : It is a major aspect of the Internet because there are many different types of computers and operating systems connected to it. Some means of generating portable executable code was needed. For example :- In case of an applet, the same applet must be able to be downloaded and executed by the wide variety of CPU's , operating systems and browsers connected to the internet.