:: 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 (1728)
 Advanced Java interview questions  Advanced Java Interview Questions (332)
 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)
What is the exact difference in between Unicast and
Multicast object ?
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
# 1
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
# 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

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
# 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
# 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

Other Core Java Interview Questions
  Question Asked @ Answers
what is meant by UP& DOWN casting in java?   6
explain about method overloading and method overriding with difficult examples   4
What is the use of static keyword in "public static void main()" Infosys 10
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;   2
What is the difference between the synchronized() & static synchronized()? HP 2
What is Collection interface? Zensar 1
What is meant by Static query and Dynamic query?   2
I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.   1
How a class can implement an interface? SysArc 5
What is the difference between method and constructor ?   3
What is the difference between java and .Net? Bosch 36
Explain method overloading and overriding?   6
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.   ::