 |
|
OL315: Java Network
Programming
-
Description:
-
-
One key features of Java is its ease of use in a network environment.
Java Network Programming is a complete
introduction to developing networking programs using Java.
The course explores the java.net package, which
contains classes for communications and working with networked resources.
In a step-by-step, hands-on fashion, it introduces developing network
programs (both applets and applications) using Java, covering networking
fundamentals and remote method invocation (RMI).
Java Network Programming is a thorough guide to Java's networking potential.
This course is composed of comprehensive
lectures, practical project illustrations, and
independent programming sessions.
Incrementally building, hands-on exercises are incorporated into each lesson.
-
Objectives:
-
- At the end of the course, participants will
be able to:
-
-
Use the java.net package to
implement networking applications.
-
Implement a TCP client and server.
-
Use object serialization.
-
Implement a mechanism for moving
objects across a network.
-
Implement an RMI application
and applet.
Duration:
2 days
-
Audience:
-
-
Java programmers interested in the networking capabilities of Java. Programmers interested in writing clients and servers and understanding how they communicate over the network via different protocols.
-
Prerequisites:
-
-
The course assumes familiarity with the Java language and, specifically,
an understanding of the structure of Java programs and
the application of object-oriented programming concepts.
Networking experience is not required.
-
Outline of Contents:
-
Unit
1: Basic Networking Concepts
-
Learn basic networking concepts such as TCP, IP adresses.
-
Learn the java.net API's that facilitate TCP communication.
-
Build your own client-server system using TCP.
Unit 2:
Object Serialization
-
Learn the general concepts relating to object serialization.
-
Serialize and deserialize objects.
-
Learn about the issues of object serialization.
-
Send objects across the network using a combination of
sockets and object serialization.
Unit 3:
RMI Principles
-
Examine the concept of distributed objects.
-
Understand RMI principles.
-
Analyze the components of an RMI server.
-
Analyze the components of an RMI client.
-
|
Unit
4: A Complete RMI Application and Applet
-
Build an RMI server.
-
Build an RMI client as an application.
-
Build an RMI client as an applet.
Unit 5:
Advanced RMI
-
Understand the threading issues related to RMI servers.
-
Implement callbacks into clients.
-
Pass remote object references across the network.
-
Make remote objects persistent.
|
|