Supercomputing Networking Research Education Ohio Supercomputer Center Site Map Staff Directory Support

Java as a Programming Language

Description

The emphasis of this new OSC workshop will be on presenting Java as a high-level programming language capable of solving scientific problems; graphical animation of the results; and run-time program control through a window-based interface. A case study of a specific problem will combine all three of these Java programming abilities together into an example code.

The Java programming library and runtime environment provide a true "write once, run anywhere" capability due to its incorporation within Internet browsers. Thus, using Java for programming problem solutions ensures widespread portability.

The table of contents for this workshop reads like the first pages of a typical programming language textbook with concepts familiar to programmers who use other languages, but with Java syntax and capabilities.

Such concepts include:

  • Data structures & variables
  • Operators & expressions
  • Looping statements
  • Flow-control statements
  • Functions
  • Input / Output
  • Object-Oriented Programming
  • Java library routines (Extensive)
  • Visualization Classes
  • Windowing Classes (from high-level to window details)

If time permits, the important topic of catching errors within your own code and responding appropriately will be covered. This error-handling material will be included as well as a self-contained tutorial on Java graphical capabilities.

Prerequisites

Programming experience

Target Audience

Programmers who want to write widely portable code which runs over the Internet

Method of Delivery

Lecture and hands-on laboratory

Handouts

February 2004, Dr. David Ennis (PDF)
December 1999 (HTML wrapped JPEGs with Frames or PDF), by David Heisterberg
February 1999 (HTML wrapped GIFs with Frames), by David Heisterberg