• Post Reply Bookmark Topic Watch Topic
  • New Topic

Diff b/w Distributed and client-server applications

 
Nasir Mkhan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am confuse on that what is the difference b/w distributed applications and client-server applications because in distributed applications too one object is reguesting(acting as client) and other object is responding(as server).Also with RMI we build distributed applications or client-server applications?
Plz put me outofthis confusion.Thanks to all.
Abdul Nasir Khan
SCJP2
 
Christopher Pereira
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Abdul Nasir:
what is the difference b/w distributed applications and client-server applications because in distributed applications too one object is reguesting(acting as client) and other object is responding(as server).Also with RMI we build distributed applications or client-server applications?

You are right, actually every time you open a socket, someone is acting as server and the other as client.
The main difference is that client/server applications are somehting like:
..S
./|\
C C C
(example: web-server/browser)
and distributed applications are like:
..C
./|\
C+C
.\|/
..C
(example: gnutella, starcraft)
Any way, every node may act as a server or a client in a distributed application, and sometimes server/clients applications are also called distributed applications, to emphasize they aren't "local" applications.
RMI (remote method invocation) is just the technique to execute a method on a remote machine. It can be server/client or distributed.

[This message has been edited by Christopher Pereira (edited September 16, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!