Java Tutorial - Fall 99 Part4: Multithreading, Useful Java Classes, I/O and Networking

3/23/00


Click here to start


Table of Contents

Java Tutorial - Fall 99 Part4: Multithreading, Useful Java Classes, I/O and Networking

PPT Slide

Initial Remarks on Threads

Thread Concurrency

Thread Execution

How to Use Threads

Subclassing the Thread Class

The Life of a Thread

Moving out of a Blocked State

Thread Priorities

Synchronization

More on Synchronization

Thread wait

Thread notify

Threads and Synchronization - Example

Useful Java Classes

The Overarching Object Class

Determining and Testing Class of Object

java.lang.Object Wrappers

The java.lang.Math class

The Date class

The String Class

More on Strings and the StringBuffer Class

Example using StringBuffer

The Vector Class

Methods for Vectors

The Hashtable class

I/O and the powerful Stream Zoo

I/O Streams

The Input Stream Zoo

FilterInputStreams

The Output Stream Zoo

FilterOutputStreams

Character Streams

Buffered Text I/O

A Monster Chain

Standard Input/Output

SequenceInputStream

The File Class

The FileDialog Class

Random Access

StreamTokenizer class

More on StreamTokenizer

Object Serialization

Networking and Web Access

Networking and Web Access in Java

Security Concerns for Applets (Untrusted Code)

Table for Java file and network access

URL objects in Java

Read a File on the Server I

Read a File on the Server II

Sockets for Network Communication

Socket from the Client Side

Java Application Server

Sockets from the Server Side

Java applets with CGI

Connecting to a CGI Script

Performance and Dreaming about the Future

Use of Native Classes to Speed Up Execution

Comments on Native C Methods

HPCC and Java -- High Performance HPjava -- I

HPCC and Java -- HPjava -- II

Author: Neil Jasper

Email: njm@npac.syr.edu