Copyright (C) 1997 Barry Cornelius

A   T a s t e   o f   J a v a

This WWW page provides material for a talk entitled A Taste of Java. It is regularly updated, and it has been used at:

Warm-up applets to be used whilst people arrive for the talk

Here are some Java applets. These applets are files that come with Sun's Java Development Kit (see below). In order to run these applets, you need to be running a Java-aware WWW browser (such as HotJava, Internet Explorer or Netscape Navigator).

And finally finish with Duke who is the mascot of the Java development team:

Agenda

Introduction

What is Java?

How is it executed?

What are Java applications?

What are Java applets?

What are Java applets?

What are Java applets?

Some real examples

Some real examples

A digression: what is JavaScript?

A digression: what is JavaScript?

The Java language

What's been taken out from C/C++?

What's left?

What's new?   (a) Garbage collection

What's new?   (b) Multithreading

An example of a class

A better version of the class Date

An example of inheritance

Exception handling:   (a) throwing

Exception handling:   (b) catching

Package declarations

Java's packages

Packages of the Core API of JDK 1.0.2

Handling strings

An example of processing a string

Providing a GUI

An example of providing a GUI (using the AWT of JDK 1.0.x)

An example of providing a GUI (using the AWT of JDK 1.1)

More information about ButtonClock

JDK 1.1.x

Other APIs

Other points

Security issues

Other ports of the JDK

Cloning the JDK

Tools to support Java

Some Integrated Development Environments

Some Integrated Development Environments

Some Integrated Development Environments

Compiling other languages into bytecodes

Books on Java

Books on Java

Primary resources on Java

Other resources on Java

Not just a programming language

Conclusions


The text of this overview is updated from time to time. The latest version is available at: http://www.dur.ac.uk/~dcl0bjc/Java/. This WWW page also contains other documents on Java including a tutorial on how to write Java programs and some notes comparing Java and C++.