«Back to Home

Core Java

Topics

Introduction Of Networking In Java

Networking
 
Networking is a process to connect two or more computing devices together. Thus, we can share resources through networking.
In Java, Socket programming gives the facility to share the data between the different computing devices.
 
Advantages of Networking in Java
  • Share resources.

  • Centralize software management.
Networking Terminology

The largely used networking terminologies are,
  • IP Address

    IP address is a unique number allotted to a node of a network e.g. 192.168.0.1. It is composed of octets, which range from 0 to 255. It is a logical address, which can be changed.

  • Protocol

    A protocol is a set of rules mostly, which are followed for the communication. For example: TCP, FTP, Telnet, SMTP, POP etc.

  • Port Number

    The port number is mainly used to uniquely classify the different Applications. It performs as a communication endpoint between the Applications. The port number is connected with the IP address for the communication between the two Applications.

  • MAC (Media Access Control) Address

    Media Access Control address is an exclusive identifier of NIC (Network Interface Controller) and a network node can have multiple NIC but each has a unique MAC.

  • Connection-oriented and connection-less protocol

    The acknowledgement is sent by the receiver in connection-oriented protocol. Thus, it is reliable but slow. For example, TCP.

    The acknowledgement is not sent by the receiver in the connection-less protocol. Thus, it is not reliable but fast. For example, UDP.

  • Socket

    A socket is an endpoint between the two means of communications.
Summary

Thus, we learnt that Java networking is a process to connect two or more computing devices together. Thus, we can share the resources through networking and also learnt networking terminology in Java.