Link to home
Start Free TrialLog in
Avatar of deepakad
deepakad

asked on

Difference between loosely coupled and tightly coupled.

What is difference between Loosely coupled and tightly coupled application.This is in context of JMS(Java Message Service)like example.:-

"Messaging enables distributed communication that is loosely coupled and messaging differs from tightly coupled technologies such as Remote Method Invocation "

What exactly above quotes mean.
ASKER CERTIFIED SOLUTION
Avatar of Prasanna_Hebbar
Prasanna_Hebbar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JonathanJonas
JonathanJonas

The following is a definition from http://www.techweb.com/encyclopedia/ It refers to coupling in hardware, but is useful anyway.

tightly coupled

 
Refers to two or more computers linked together and dependent on each other. One computer may control the other, or both computers may monitor each other. For example, a database machine is tightly coupled to the main processor. Two computers tied together for multiprocessing are tightly coupled. Contrast with loosely coupled, such as personal computers in a LAN.
 

In terms of application software, the meaning is similar - an app or component which is tightly coupled depends on another app or component and if the other app has changed it will not function properly. Tight coupling is a Bad Thing. Loose coupling is desirable, it enables an app to change the way it works internally without affecting other components which use it.

JMS is loosely coupled because it allows disparate systems to subscribe to a queue or topic unlike RMI which directly uses the objects that it needs.

Cheers,

Jonathan
 
Avatar of deepakad

ASKER

Hi Prasana,

Is this is the case will be true in JMS also.

If yes then i can accept your answer.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[Points to Prasanna_Hebbar]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.