[Português]
 [Home]
 [Back]
 [Help]

Ricardo's Home Page
Java


 Java
 Links
 Programs
 Info
 Guestbook

Here you can find some tips on Java and their related environments.
Although JavaScript is not Java, I'm including some tips on JavaScript too.
Before you start you may need to install the the Java Development Kit (JDK).
You may want to take a look at the instalation tips.

JavaScript
Although technically JavaScript is not Java, it's syntax is very similar.
The truth is, it was based in Java language syntax.
HTML defines only the presentation of your pages. Eventually you will end up writing small scripts to do things like making animated links , or pull down menus, or other tricks you wouldn't be able to achieve any other way.

Java Applications
Java applications are programs that can be run directly from you working operative system.
They can be built to have a Graphical User Interface or to run directly without user interaction.
In this page I'll help you to start writing Java Applications, starting with the traditional Hello World example.
We will see an Hello World example mounted as an Applet and as a Servlet, so that we can see the differences between those implementations.

Java Applets
Applets are programs that are supposed to be run inserted in a HTML page under the control of a browser.
An applet inherits the presentation space provided by the browser, so you don't need to define it, as opposed to a Java Application that has an graphical user interface.
Once again we will start with the Hello World example.

Java Servlets
Servlets are programs that are supposed to be run under an HTTP Server control.
As in the case of Applets, a Servlet must be a subclass of an already defined class.
Besides that it must provide replies to browser's requests.
This means, of course, you must have access to your server to mount your Servlet.
This kind of service is not available in most free web hosting services like Geocities.
Once again we will start with the Hello World example.

Last update:
2000/01/03 
This page hosted by 
Get your own Free Homepage
Prepared by:
Ricardo Lindengrün

Click Here!

1