:: 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                      
Categories >> Software >> Java Related >> Java J2EE >> Core Java


 Core Java interview questions  Core Java Interview Questions (1720)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (43)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (195)
 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 (145)
 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)
What is the exact difference in between Unicast and
Multicast object ?
 Question Submitted By :: Ravikumar
I also faced this Question!!     Rank Answer Posted By  
  Re: What is the exact difference in between Unicast and Multicast object ?
# 1
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
  Re: What is the exact difference in between Unicast and Multicast object ?
# 2
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
  Re: What is the exact difference in between Unicast and Multicast object ?
# 3
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

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
  Re: What is the exact difference in between Unicast and Multicast object ?
# 4
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 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

Other Core Java Interview Questions
  Question Asked @ Answers
What are null interfaces in JAVA ? and give me some examples?   5
what is an object and how do you allocate memory to it? Wipro 6
Write the program numbers into words.For example 2345==two thousand three hundred fourty five TCS 2
Does java support multi dimensional arrays ?   6
Why ArrayList class is not a synchronized class and why it is not a thread safe class? explain   1
os is developed in c no java is more secured then c na why dont the os developed is developed using java   1
What are different types of Exceptions?.   9
What is stop(), suspend(), resume() method?   3
Howmany number of objects we can store in an ArrayList. Is there any limit? TCS 6
what is Hashmap & Hashtable wirh example? Saksoft 4
How a class can implement an interface? SysArc 5
Can we access private data outside of the class directly in java programming language? Why There is no runtime checking in java, which leads to access the private data directly outside of a class? Google 5
For more Core Java Interview Questions Click Here 

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