ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Java Related >> Java J2EE >> Core Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1722)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (147)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Question
What is the exact difference in between Unicast and
Multicast object ?
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Unicast
Unicast is a one-to one connection between the client and the server. Unicast uses IP delivery methods such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), which are session-based protocols. When a Windows Media Player client connects using unicast to a Windows Media server, that client has a direct relationship to the server. Each unicast client that connects to the server takes up additional bandwidth. For example, if you have 10 clients all playing 100-kilobits per second (Kbps) streams, those clients as a group are taking up 1,000 Kbps. If you have only one client playing the 100 Kbps stream, only 100 Kbps is being used.
Back to the top
Multicast
Multicast is a true broadcast. The multicast source relies on multicast-enabled routers to forward the packets to all client subnets that have clients listening. There is no direct relationship between the clients and Windows Media server. The Windows Media server generates an .nsc (NetShow channel) file when the multicast station is first created. Typically, the .nsc file is delivered to the client from a Web server. This file contains information that the Windows Media Player needs to listen for the multicast. This is similar to tuning into a station on a radio. Each client that listens to the multicast adds no additional overhead on the server. In fact, the server sends out only one stream per multicast station. The same load is experienced on the server whether only one client or 1,000 clients are listening

Important: Multicast on the Internet is generally not practical because only small sections of the Internet are multicast-enabled. Multicast in corporate environments where all routers are multicast-enabled can save quite a bit of bandwidth.
 
Is This Answer Correct ?    7 Yes 1 No
Shakeel Ahmad
 
Answer
# 2
The difference between unicast and multicast is that in
unicast approach the sender sends the data stream to a
single receiver at a time. Thus there is one to one
communication.

In a multicast the sender and the interested receivers
communicate. This is one to many communication. This
communication can take place between data terminals spread
across various LANs too.
 
Is This Answer Correct ?    8 Yes 3 No
Madhu
 
 
 
Answer
# 3
Using Multicast addressing to limit WAN traffic
The DACS and Model Builder can be used to limit the amount
of traffic that would be put out over a wide area network.
This is useful if you have a facility with several systems
and not all of the voice traffic needs to go out over the
WAN. Voice traffic can consume quite a bit of bandwidth (64
Kbits/sec per mulaw or 16 Kbits/sec per CVSD voice stream)
and unecessary voice streams on a WAN could cause potential
bottlenecking problems.
The idea is really quite simple, voice streams passed
through the router onto the WAN will have DIS exercise
numbers corresponding to multicast groups that are in use
all across the WAN. For local voice traffic multicast groups
are formed locally but no IGMP reports are submitted to the
router for these groups, therefore they never get passed
through. The DACS on the local network however can process
these packets and permit voice communications.
The DIS exercise number is used as a discriminator to
determine if voice is passed over the WAN. For radios having
DIS exercise numbers below the cutoff point, IGMP reports
are submitted, for radios having DIS exercise numbers above
the cutoff point no IGMP reports are published.
 
Is This Answer Correct ?    4 Yes 3 No
Shankha Subhra Ghosh
 
Answer
# 4
A unicast packet is the complete opposite: one machine is
talking to only one other machine. All TCP connections are
unicast, since they can only have one destination host for
each source host. UDP packets are almost always unicast too,
though they can be sent to the broadcast address so that
they reach every single machine in some cases.

A multicast packet is from one machine to one or more. The
difference between a multicast packet and a broadcast packet
is that hosts receiving multicast packets can be on
different LANs, and that each multicast data-stream is only
transmitted between networks once, not once per machine on
the remote network. Rather than each machine connecting to a
video server, the multicast data is streamed per-network,
and multiple machines just listen-in on the multicast data
once it's on the network.
 
Is This Answer Correct ?    9 Yes 13 No
Meera
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
List interface?   2
what is object deep copy and shallow copy and why it is required?   2
what is request processor? Virtusa 1
what is multi-tasking Tech-Mahindra 3
What is the use of static import ? Rolta 4
What are wrapper classes? Noah-Solutions 11
class A { class B { psvm(String args[]) { } } } if the prg saved in A.java whats the o/p? HCL 7
There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple Inheritance? please anybody help me.....   4
how can be object class inherited to all class in a program when java does not support multiple inheritance??   4
What is the use of bin and lib in JDK? TCS 7
What is a J2EE component? List out all the component? Adobe 2
what is struts-config-xml?and its use?   3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com