Home : Course Map : Chapter 13 :
Networking Overview
JavaTech
Course Map
Chapter 13

Network Overview
Internet Basics
IP - Datagrams
  TCP - UDP
  Application Layer
Ports
Java Networking
URL
  Demo 1
Read From URL
  Demo 2
InetAddress
  Demo 3   Demo 4
Sockets
  Demo 5
Client-Server

RMI
Exercises

     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

Networking architecture is based on the concept of layers. From Java Network Programming (Harold, 2000.) comes this layer model:

(A more formal OSI - Open System Interconnection - model has 7 layers but this one shows the essential layer definitions.)

Each layer has its own standardized protocols and applications programming interface (API ), which refers to the functions, and their arguments and return values, called by the next higher layer. 

Internally, the layers can be implemented in different ways as long as externally they obey the standard API.

For example, the Network Layer does not know if the Physical Layer is Ethernet or a wireless system because the device drivers respond to the function calls the same way.

The Internet refers primarily to the Network Layer that implements the Internet Protocol (IP) and the Transport Layer that implements the Transmission Control Protocol (TCP). In fact, you often here people refer to the "TCP/IP" network rather than calling it the Internet.

The application layer also includes various protocols, such as FTP (File Transport Protocol) and HTTP (Hypertext Transfer Protocol) for the Web, that rely on the TCP/IP layers.

Most users never look below the application layer. Most application programmers never work below the TCP/IP layers.

 

References & Web Resources

  • Networking Basics – Sun Java Tutorial
  • E. R. Harold, Java Network Programming, 2nd Ed., 2000, O’Reilly.
  • P. Niemeyer and Jonathan Knudson, Learning Java, 2nd Ed.,2002, O’Reilly.
  • Ian F. Darwin, Java Cookbook, 2nd Edition, O'Reilly, 2004.

 

Latest update: Dec. 8, 2004

  
  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.