What is actual a distributed application?when can i say that XYZ app is disributed application.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
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.
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
Joined: Mar 17, 2005
Posts: 99
posted
0
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
Joined: Aug 15, 2004
Posts: 2874
posted
0
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.