|
Provided by: Serebra Learning Corporation Java 2: NetworkingJava |
![]() |
This course provides an overview of TCP/IP. It also explains the terms such as port socket proxy server UDP and datagrams. The course explains the importance of the InetAddress class in Java networking. You will learn to use the methods of this class in a Java program. In addition you will be introduce to URLs and URL related classes in Java. This course explains how to use the methods of the Socket ServerSocket DatagramSocket and DatagramPacket classes in a program. You will also learn how to create TCP/IP server and clients by using sockets and datagrams. Finally the course explains how to multicast datagram packets to multiple clients.
|
|
||||||||||
Audience
This course addresses the requirements of application developers and Web designers who need to design and develop applications and applets by using Java. An important objective is to prepare the learners for the Sun Certified Programmers for the Java 2 Platform - Exam (310-025).
Prerequisites
The audience for this curriculum should be familiar with the following topics: Object-Oriented and Event-driven Programming concepts and Knowledge of content covered in earlier courses in this series.
Objective
Upon completion of this course the student will be able to:
- Explain the client/server architecture in the context of networking
- Explain the terms such as UDP Socket proxy server and port
- Describe the IP address mechanism used in the Internet
- Explain how to use a URL to access information on the Internet
- Create and parse a URL
- Explain the use of the InteAddress class and its methods such as getAddress() getAllByName() getByName() getHostAddress() getHostName() getLocalHost() hashCode() isMulticastAddress() and toString()
- Explain the methods of the URL class such as getContent() getFile() getHost() getPort() getProtocol() getRef() openConnection() openStream() and set()
- Explain the methods of the URLConnection class such as connect() getContent() getDate() getContentType() getInputStream() getOutputStream() and get URL()
- Explain the methods of the Socket class such as close() getInetAddress() getLocalPort() and accept()
- Write a client/server program that transmits messages by using sockets
- Explain the methods of the DatagramPacket class such as getAddress() getData() getLength() getOffset() getPort() setAddress() setData() setLength() and setPort()
- Explain the methods of the DatagramSocket class such as close() connect() disconnect() getPort() getLocalPort() getInetAddress() receive() and send()
- Write a client/server program that communicates using datagrams
- Explain the methods of the MulticastSocket class such as joinGroup() leaveGroup() setInterface() getInterface() and send()
- Write a client-side program that listens for packets that the server broadcasts to multiple clients.
Topics Include
Networking Basics
- Overview of TCP/IP
- The InetAddress Class
- Uniform Resource Locator
Programming Using Sockets
- Using the Socket Class
- Using the ServerSocket Class
- Client/Server Programming Using Sockets
Programming Using Datagrams
- Using the DatagramPacket Class
- Using the DatagramSocket Class
- Implementing Multicasting
Duration
5 Hours
Minimum Requirements
IBM-compatible PC with 166 MHz or higher processor 32 MB RAM (64 MB RAM recommended); 800x600 SVGA color monitor with 16-bit high color display; Internet Explorer 4 or Netscape Navigator 4 or later with Shockwave 7.0.1; Windows 95 Windows 98 Windows NT; 3.5 diskette (for tracking); 28.8 kbps connection or higher for on-line use.
Media
CDROM
Web Based Training
Serebra Learning Corporation 119 - 7565 132nd Street Surrey BC V3W 1K5 Canada

