Java Training Overview
The Java programming language course was designed from start to include networking. As such, it makes its support a natural facility in the language. The Java Network Programming is a 2-day class designed to cover the Network API of JDK 1.0.2. In addition, In addition, new features included in version 1.1 such as RMI and object serialization are also covered.
Java Training Prerequisites
Students are expected to be comfortable with the basic Java language and having some understanding of TCP/IP. A brief overview of the required TCP/IP concepts are introduced for the benefit of those not completely familiar with the subject.
Java Training Course duration
2 Days
Java Training Learning Objectives
- Introduce the Networking classes and API
- Illustrate their use with coded examples
- Demonstrate their capabilities and shortcomings
- Provide the groundwork so students will be able to work independently on their own
Java Training Course outline
- An Overview of Networks & Java
- Basic Network Terms
- Network Model
- TCP/IP Networks
- TCP/IP's History
- Java & Networks
- Handling Internet Addresses
- Internet Addressing
- The InetAddress Class
- Creating InetAddresses
- TCP Sockets: Client Side
- What is TCP?
- Using TCP
- What is a Port?
- What is a Socket?
- Sockets in Java
- Creating a Socket
- Information Methods
- Using a Socket
- Reading from a Socket
- TCP Delay
- Closing a Socket
- Unsent Data
- Socket Exceptions
- Socket Implementation
- TCP Sockets: Server Side
- Server Basics
- Creating a ServerSocket
- Receiving Client Calls
- accept( ) Timeout
- Talking to Clients
- Socket Implementation
- UDP
- What is UDP?
- UDP vs TCP
- Using UDP
- DatagramPacket
- DatagramSocket
- Using DatagramSocket
- Multicasting
- What is Multicasting?
- Multicasting Mechanics
- Sending a Multicast
- Time-to-Live
- Setting the Time-to-Live
- Receiving a Multicast
- The URL Class
- What is a URL?
- URL Syntax
- Creating a URL
- URL Methods
- Getting URL Content
- The URLConnection Class
- URLConnection & URL
- Getting a URLConnection
- Setup Attributes
- Connecting
- Using Data
- Using HTTP Headers
- Named Headers
- Getting Content Type
- Interacting with CGI
- Encoding CGI Parameters
- Protocol Handlers
- Protocol Handlers in Java
- Using a Handler
- Handler Factories
- Locating a Handler Class
- URLConnection
- A Handler Example
- Content Handlers
- MIME Types
- Content Handlers in Java
- Using a Handler
- Handler Factories
- Locating a Handler Class
- The Content Object
- A text/xml Handler
- Overview of Distributed Objects
- Distributed Computing
- Low-level Messages
- Remote Procedure Calls
- Distributed Objects
- D.O. Mechanics
- Developing D.O.'s
- Running D.O.'s
- The Major Players
- DCOM
- CORBA
- RMI
- Remote Method Invocation
- What is RMI?
- RMI Architecture
- Where Does RMI Live?
- The RMI Process
- 1. The Remote Interface
- 2. The Implementation
- Exporting the Object
- 3. Stub & Skeleton
- 4. Instantiate Impl
- 5. Make Object Available
- RMI Registry
- Locating Stub Classes
- 6. RMI Security Manager
- 7. Get Remote Reference
- 8. Use the Object
- The RMI Process, Recap
- RMI Exceptions
- Defining Exceptions
- Where to Go with Java on the Network?
- JDBC
- JNDI
- XML
- JavaServer & Servlets
- EJB
- Jini
- Other APIs
- Optional Topics
- Overview of Java I/O
- Text Streams
- Binary Streams
- Serialization
Hardware/Software Requirements
- Hardware Requirements
- Intel-based PC Workstation
- Windows 95, 98 or NT
- Minimum 486 33Mhz Processor
- Minimum of 32 MB memory
OR
- In Addition:
- TCP/IP communication among the student machines is strongly recommended to illustrate Java's networking capability and add realism to student workshops.
- Internet access is strongly recommended.
- Access to an HTTP server is recommended to simulate web page access. If the students have general Internet access, this requirement is met.
- Software Requirements
- Java 2 Standard Edition version 1.3 software and documentation*
- Adobe Acrobat Reader*
- Student files
- Text editor*
|