Core Java| JSP| Servlets| XML| EJB| JEE5| Web Services| J2ME| Glossary| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
Multicast in Java 
 

This section introduces you how to deliver or transmit data in network and describes the fundamental of various techniques like: unicast, broadcast and multicast.

 

Multicast in Java

                         

Multicast in Java

This section introduces you how to deliver or transmit data in network and describes the fundamental of various techniques like: unicast, broadcast and multicast. The detail information is given bellow: 

 There are following types  of method for delivering or transmitting data in the network.

  1. Unicast
  2. Multicast
  3. Broadcast

1. Unicast: This method solves network traffic problems to deliver messages from one host to another. Here, data can be delivered to one specific destination IP (Internet Protocol) address that means only one sender sends data and another receives at a time. So, you can say that this is one-to-one data delivering method like: walky-talky and telephone or mobile phone. These equipments provide the facility of transferring data only one user at a time. If one user uses this then another is not accessed. 

The unicast method is not efficient for network traffic problem because it supports one-to-one transmission that consumes more time and provides slow processing for deliver data from one user to another.

Following diagram determines the functionality of unicast method:

Figure - Unicast

2. Multicast: In this method, you can transmit data or messages to all destination host machines, which has been interested an appropriate multicast  group. The sender generates only one data stream but it delivered to all destination hosts. It supports one-to-many data delivering networks. Multicast delivers a data or information simultaneously to all interested destination hosts machines. The multicast methodology are used in case of teleconferencing and videoconferencing. The teleconferencing and videoconferencing machines transmit data simultaneously to all interested parties present in the same group.

Multicast provides the best features to unicast and broadcast because, here neither carries the burden of data to delivering all hosts nor miss-utilize the entire network. Users are joined in the multicast groups to follows an appropriate standards like: IP Multicast and Mbone.

In case of addressing and classifying the entire network, multicast is placed in a class 'D' IP address and which has addresses space 224.0.0.0 to 239.255.255.255.

Following diagram determines the functionality of Multicast method:

Figure - Multicast

3. Broadcast: It provides better facility to solve a network traffic problems than unicast. In broadcast, the server generates only one data stream but it can be delivered to all destination host whether interested or not. Here transmitting data or packets to be received by every host machine on entire network that means you send data or messages to multiple host at a time or simultaneously. It uses in the e-mail systems and some fax system. In case of e-mail and fax system, you give more than one addresses in place of address and send it then all destination receive this message simultaneously. 

This data delivering process is fast but a network carries more burden in delivering. So, the values of network resources are worst and miss-utilize the entire network. Ethernet and IPv4 are used to represent the broadcast address and packet but IPv6 does not support directed broadcasts or local broadcasts.

Following diagram determines the functionality of Broadcast method:

Figure - Broadcast

                         

» View all related tutorials
Related Tags: java c com server layout time button io graph screen command this disable pear cast tar app cas buttons start

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

3 comments so far (
post your own) View All Comments Latest 10 Comments:

sir i have to broadcast a video file and that should be encrypted is it possible to encrypt a video file?? hoe to encrypt a video file?

Posted by rama krishnaa on Saturday, 01.31.09 @ 10:45am | #84360

Nice article on java udp programming

Posted by karthik on Tuesday, 09.18.07 @ 15:07pm | #27480

Hi! I wanted to implement Multicast program in java with reliability .Could you please help me giving more precise information and also refrences If you have any.
Awaiting your reply.
Thanks in advance

Posted by suman on Wednesday, 12.27.06 @ 01:11am | #2072

Training Courses
Tell A Friend
Your Friend Name
Software Solutions
Least Viewed
Most Rated
Recently Viewed
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.