Site hosted by Angelfire.com: Build your free website today!
       
Aral Pinoy Section

Thank you for visiting this section. Aral Pinoy Section does not promise readers to learn the full topic. A proper learning methodology like actual classroom / seminar workshop must be conducted to tackle topics in full.
Aral Pinoy Section will give you only the basics needed to start.

Learn to Program JAVA. Learn the Basics.
by: Rodelio P. Barcenas

JAVA applet programming.

The topic for this session is about how to create JAVA applets, what it can do? and how does it work?

Let's go back to basics.

To make a computer program for a certain application, we should first try to consider two different setups

  1. Compiler
  2. Interpreters

Compiler. When a programmer starts to write program for a computer, the programmer will write his program using text editors or equivalent. The program statements are readable by a human being. At the end of his program, the programmer then tries to go to a process of compilation. The first phase of compilation will be checking the syntax of the program and the second phase will be to convert the program to a machine code understandable by computers. If a programmer creates a program in C language called "example.c", after compilation an excutable machine code file "example.exe" will then be produced. The file "example.exe" is executeable and does not need other softwares to run it.

Interpreter. This process does not include the second phase in compiler. If a programmer created a program "example2.bas" (Quick Basic), the file will not be converted into a machine code just like the compiler process. The file "example2.bas" must be run inside the the Quick Basic environment in order to execute the program.

A quick glimpse of the Internet development

Everybody is almost aware on how to surf the internet using their browsers looking for informations in millions of computers around the globe.

The first browser that was developed was the browser called "Mosaic". The main intention during that time was to share information via the internet using Text and images only. The browser uses the HTML protocol in which readers can just click on items needed to explore. HTML (HyperText Markup Language) is actually a programming language intended just for the browser technology.

A web browser developer "Netscape" pionered and developed further the technology in web browser. Netscape later on tried to included the JAVA (developed by SUN http://www.javasoft.com) interpreter inside the Web Browser.

Since then, the concepts of using the web browser in sharing information (text, images) became completely different. The Web browsers now can execute programs because of the interpreter imbedded inside. The web browsers now turned into another programming paradigm where complete internet connectivity can be realized. NASA Space Hubble Telescope is running on a Web Page and a Web Browser.

The JAVA Applet

The JAVA applet is the program attached to the HTML files. This Applet is executed by the Web Browsers that has an internal JAVA Virtual Machine like Netscape, Internet Explorer et al.

~ end ~

Next Session, How to program JAVA applets

RPB



The PinoyTechZone.Com
Copyright 2002-2003
All rights Reserved