Java contribution to www
Java’s Contribution to the Internet (World Wide Web):
- Great feature of the java is that java is platform independent.
- It can word on any network,any operating system thus making programs more flexible.
- In addition to simplifying web programming in general, Java innovated a new type of networked program called the applet that changed the way the online world thought about content.
- Portability and Security of java makes World wide web to spread across globe.
A. Java Applets :
- An applet is a special kind of Java program that is designed to be transmitted over the Internet and automatically executed by a Java-compatible web browser.
- Applet can be downloaded on demand.
- Applet programs can be run on ant java compatible browser.
- Applets are intended to be small programs.
- They are typically used to display data provided by the server, handle user input, or provide simple functions, such as a loan calculator, that execute locally, rather than on the server.
- In essence, the applet allows some functionality to be moved from the server to the client.
B. Security :
- Applets can be downloaded to user PC .
- They are executed independently without accessing other parts of user’s PC.
- The ability of Java provides security and thus Java prove itself more secure.
C. Portability :
- Java Programming is Portable.
- Java Program is Operating System Independent.
- Java Program is converted into byte code and byte code is executed by JVM. [ See how Java Code is Portable ? ]
- Java Applets are thus portable and can be downloaded from any place in globe and can be executed on java compatible browser thus making java programs portable.
In the next chapter we are going to see How Java Programming is Platform Independent ? Which Aspects of Java make it to behave independently regardless of hardware use ?