This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic Question

 
raj joe
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is actual a distributed application?when can i say that XYZ app is disributed application.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say when it is running on more than one machine. This definition would include an app that consists of an applet that talks to a servlet; also a setup where a web app calls stored procedures (maybe even just executes SQL?) in a database. It's hard to draw a line, though. Does using a remote file server count? How about a remote mail or message server?
I wouldn't go so far as to include a web app that uses servlets on the server and JavaScript on the client, though.

Some people go further still and include parallel processing, i.e. an application using several CPUs on the same machine, but that seems a stretch to me.

So, the definition is somewhat arbitrary.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by raj joe:
What is actual a distributed application?when can i say that XYZ app is disributed application.


Raj, if you know of distributed database then you can easily get what distributed applications are all about. As we know that a distributed database is a database which is distributed among two or several machines.

If you know about RMI. Then you can think RMI as a distributed application. The application on one machine invokes the method on some other machine and gets the results.
 
raj joe
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Adeel Ansari:


Raj, if you know of distributed database then you can easily get what distributed applications are all about. As we know that a distributed database is a database which is distributed among two or several machines.

If you know about RMI. Then you can think RMI as a distributed application. The application on one machine invokes the method on some other machine and gets the results.



1.SAY I HAVE AN WEBAPP DEPLOYED IN AN APP SERVER AND THIS WEBAPP ACCESSES A DB WHICH IS ON A DIFFERENT MACHINE.IS THIS STILL CALLED DISTRIBUTED APPLICATION.

2.SAY I HAVE AN WEBAPP DEPLOYED IN AN APP SERVER AND THIS WEBAPP ACCESSES A DB WHICH IS ON THE SAME MACHINE AND THIS APP SERVER IS ON A CLUSTER ,IS THIS STILL CALLED DISTRIBUTED APPLICATION.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by raj joe:
1.SAY I HAVE AN WEBAPP DEPLOYED IN AN APP SERVER AND THIS WEBAPP ACCESSES A DB WHICH IS ON A DIFFERENT MACHINE.IS THIS STILL CALLED DISTRIBUTED APPLICATION.


I would say no. Because you are not distributing application. Your app is just using a DB that is on other machine. What you say?


2.SAY I HAVE AN WEBAPP DEPLOYED IN AN APP SERVER AND THIS WEBAPP ACCESSES A DB WHICH IS ON THE SAME MACHINE AND THIS APP SERVER IS ON A CLUSTER ,IS THIS STILL CALLED DISTRIBUTED APPLICATION.


I would say yes. Because cluster is a logical partition of your hard drive. No matter it is distributed among several machines or several logical partitions. But usually we use the term "distributed" with applications that are distributed over several machines. Otherwise, clustered application. May be its just me.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic