Table of Contents
Java Tutorial - Fall 98Part4: Multithreading, Useful Java Classes, I/O and Networking
Threads are part of the Java Language! (a more serious discussion than in part III of tutorial)
Initial Remarks on Threads
How to Use Threads
Subclassing the Thread Class
Thread Execution and Concurrency
The Life of a Thread
Moving out of a Blocked State
Thread Priorities and Groups
Synchronization
Synchronization is Implemented by Monitors
Threads and Synchronization I
Threads and Synchronization II
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
Random Access
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
Socket from the Client Side
Sockets from the Server Side
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
|