/* related posts with thumb nails */

Java communicates with web pages(Or) How applets are executed in web pages:

Java communicates with a Web page through a special tag called as in the following steps:

1. The user sends a request for an HTML document to the remote computer's Web server. The Web server is a program that accepts a request, processes the request, and sends the required document.

2. The HTML document is returned to the user's browser. The document contains the APPLET tag, which identifies the applet.

3. The corresponding applet bytecode is transferred to the user's computer. This bytecode had been previously created by the Java compiler using the Java source code file for that applet.

4. The Java-enabled browser on the user's computer interprets the bytecodes and provides output.

5. The user may have further interaction with the applet but with no further downloading from the provider's Web server. This is because the bytecode contains all the information necessary to interpret the applet.

1. Write about browsers. (Or) Explain various web browsers

Web browsers are used to navigate through the information found on the net. They allow us to retrieve the information spread across the Internet and display it using the hypertext markup language (HTML). Examples of Web browsers, among others, include.

HotJava: HotJava is the Web browser from Sun Microsystems that enables the display of interactive content on the Web, using the Java language. HotJava is written entirely in Java and demonstrates the capabilities of the Java programming language.

When the Java language was first developed and ported to the Internet, no browsers were available that could run Java applets. Although we can view a Web page that includes Java applets with a regular browser, we will not gain any of Java's benefits. HotJava is currently available for the Solaris platform as well as Windows 95, Windows NT and Windows XP.

Netscape Navigator: Netscape Navigator, from Netscape Communications Corporation, is a general-purpose browser that can run Java applets. With versions available for Windows 95, NT, Solaris and Apple Macintosh, Netscape Navigator is one of the most widely used browsers today. Netscape Navigator has many useful features such as visual display about downloading process and indication of the number bytes downloaded. It also supports JavaScript, a scripting language used in HTML documents.

Internet Explorer: Internet Explorer is another popular browser developed by Microsoft for Windows 95, NT and XP Workstations. Both the Navigator and Explorer use tool bars, icons, menus and dialog boxes for easy navigation. Explorer uses Just-in-Time (JIT ) compiler which increases the speed of execution.

Few other popular browsers include Firefox, opera and chrome.

Related Topics:


Post a Comment