Certificate Course
in
Programming in Java (Beginner Course)
A complete manuscript is provided as postscript file
or pdf file. The course can also be done as
self-study.
Java has been developed by Sun.
It is an object-oriented programming language
which is compiled to a platform-independent binary code which is
then typically interpreted by the Web-browser. This enables
people to run your program independent of their platform (whether
they are running Windows, OS/2, Unix, Linux, or any other operating
system). As a platform-independent programming language for the Internet,
Java has tremendous potential and has gained immense popularity.
The built-in support for multi-threading and distributed objects (via Java Beans)
makes Java particularly useful for parallel and distributed computing allowing
one to solve computationally demanding problems (e.g. neural networks, global
optimization via genetic algorithms).
After completing this course you will be able to develop Java applications and Java applets.
We will start with a thorough introduction into the Java programming language, covering
the Java 1.5.0 standard.
You shall then learn about writing platform-independent GUI-applications and how simple it
is to port an application to an applet which typically runs in a Web Browser (being typically
launched from your Web pages).
Finally, the Java standard includes a socket class library which makes TCP/IP and
UDP/IP communication as simple as reading from or writing to a file. We shall develop
networking applications which download web pages as well as simple and more complicated
client-server systems. This will enable you to develop client-server systems for your company,
allowing on-line querying and ordering over the Internet. The TCP/IP support would be
used when solving complex scientific computing problems
Prerequesites
- Some basic programming experience.
Introduction
- Why Java ?
- Aim of Object-Oriented Programming
- Inheritance
- Polymorphism
- Built-in Classes
- Java Compared To C++
- Identifiers and Keywords in Java
Java Basics
- My First Java Program
- My First Applet
- Basic Data Types
- Arithmetic Operations
- Unicode, ASCII Table, and Types Conversion
- Precedence Table
- Arrays
- Control Statements
- Logical AND, Logical OR, and Logical NOT
- Bitwise Operations
- Shift Operations
- Pass by Value, Pass by Reference
- Recursion
- Jump Statements
- Reading from the Keyboard
- String Class
- StringTokenizer Class
- Command Line Arguments
Classes and Objects
- Introduction
- Wrapper Classes
- Vector Classs
- Math Class
- BigInteger and BigDecimal Class
- Object Class
- The this Object
- The Class Class
Inheritence and Abstract Class
- Introduction
- Abstract Class
- Inheritence
- Composition
- Constructors
- Inner Classes
The GUI and its Components
- Introduction
- Class Component and Class Container
- ActionListener and ActionEvent
- Class Graphics
- Color Class
- Class Image
Exception Handling
- Introduction
- The Exception Class
- Examples
File Manipulations
- Introduction
- Examples
- File Class
- Serialization
Threads
- Introduction
- Thread Class
- Examples
Animation
- Introduction
- Image Class and Animation
- AudioClip Class
Networking
- Introduction
- Addresses
- Ports
- Examples
- URL Class
Java 2 Collection Frame Work
The Swing Components
Resources and Web Sites
Exercises
Timetable and Enrollment
Forms
For further information contact Prof. W.-H. Steeb