Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is unicasting and multicasting?diference between them?  RSS feed

 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is unicasting and multicasting?diference between them?
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Distributed programming typically assumes a one-to-one connection between two processes. Even if several clients connect to one server, the server will usually connect to each client separately, via unicast.
Multicasting is a way of directing a single message to multiple listeners. Unlike broadcasting, in which everyone receives the message, multicasting is a subscriber-oriented approach in which programs "opt-in" to a channel the server uses to issues messages.
 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for ur reply,well hows is it useful in rmi??is there any unicasting and multicasting class or interface???
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RMI always assumes a one to one relationship - how could it be otherwise?
Java Message Service is a simple way of accomplishing multicasting with a publish-subscribe approach. Messaging is becoming more and more important so it is a good thing to learn. There is an O'Reilly book that I found useful!
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!