GSAMS Java

5/21/99


Click here to start


Table of Contents

GSAMS Java

Networking Topics

A Short History of Java Networking

A Short History of Java Networking

Competing Networking Models: OSI vs. Internet Whose Kung Fu is Better?

PPT Slide

PPT Slide

Internet Architecture Model

Internet Architecture Model

Internet Architecture Model

Network Protocols in Java

Basic Terminology (cont’d)

IP Address Classes

IP Address Classes

IP Addresses: Names

Ports

The java.net.* Package

Address representations

Converting IP Numbers to Strings

Other InetAddress Services

PPT Slide

Sockets . . . and Threads

Sockets

Sockets

Sockets: Simple Usage

Socket Options in Java

Socket Options in Java

TCP/UDP Connections Distinguished

A Day Time Client

PPT Slide

Reading and Writing From Sockets

PPT Slide

PPT Slide

Analysis and An Idea

ServerSockets

PPT Slide

Blocking Network Calls

Threads

Simple Threads Example

Thread Issues

Threaded Socket Clients

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

Threaded Client Sockets

Sending Mail

Sending Mail

Sending Mail

PPT Slide

URLs

URLs

Using URLs

PPT Slide

PPT Slide

Extracting the Stream from a URL

PPT Slide

PPT Slide

CORBA & RMI: Two Flavors of Alphabet Soup?

What is CORBA?

What is RMI?

What’s the Difference?

PPT Slide

A Contrived Experiment With RMI

Experiment With RMI (Cont’d)

Experiment With RMI (Cont’d)

Program: Matryoshka Doll Server

RMI Design Cycle

1. Common Data Type

2. Define The Interface

3. Implement the Interface

3. Implement Interface (cont’d)

4. Compile (javac & rmic)

6. From Moscow With Stubs

PPT Slide

PPT Slide

8. Start The Client

PPT Slide

RMI Summary: Value

RMI Summary: Errors & GC

RMI Summary: LocateRegistry

java.rmi.Naming Class

PPT Slide

Java Native Invocation

Native Methods--What?

Native Methods -- Why?

JNI Generation--Overview

Step 1: Organizing JNI vs. Java Functionality

PPT Slide

Step 2: Generate Header File

PPT Slide

Step 3: Implement Your JNI Method

PPT Slide

4. Compile the Object

PPT Slide

PPT Slide

5. Load the Library

6. Execute

7. DEBUG (and repeat . . .)

Concluding Thoughts

Author: dagon

Email: dagon@cc.gatech.edu

Home Page: http://www.cc.gatech.edu/projects/gsams-java

Download presentation source

Download zipped presentation source (~85 K)