ch-1 AJ
ch-1 AJ
SEMESTER: 6
PREPARED BY: PROF. NITI KHETRA
JAVA NETWORKING
• INTRODUCTION
• Java networking is the concept of connecting
two or more computing devices to share
resources. The application layer of a Java
program communicates with the network. The
java.net package contains all of the Java
networking classes and interfaces
TCP UPD
• TCP (Transmission Control Protocol) • DatagramSockets are Java’s mechanism
is a reliable and connection-oriented for network communication via UDP
protocol used for data communication instead of TCP. Java provides
between devices over a network. It DatagramSocket to communicate over
guarantees the delivery of data in the UDP instead of TCP. It is also built on top
order it was sent and handles any lost of IP.
or corrupted packets.
• The client objects invoking the remote object and using the stub,skeleton,remote
reference layer and transport layer
DEPARTMENTDEPARTMENT
OF ELECTRICAL
OF COMPUTER
ENGINEERING,
ENGINEERING,
*Proprietary*Proprietary
material of material of SILVER OAK
5
SILVER OAKUNIVERSITY
UNIVERSITY
Client Server Connectivity
Client Serve
r
Application Application
Remote Remote
Reference Reference
Layer Layer