java Programming Glossary: coupling
Best way to accomplish inter-activity communication in an Android TabHost application http://stackoverflow.com/questions/1162659/best-way-to-accomplish-inter-activity-communication-in-an-android-tabhost-applic getParent .getNearbyMatches This adds an element of strong coupling that I'm not entirely thrilled with but from a performance standpoint..
JSF Service Layer http://stackoverflow.com/questions/13011392/jsf-service-layer have one huge service class or so. That's extreme tight coupling. As to the service layer API itself Java EE 6 offers EJB 3.1..
How to throw a checked exception from a java thread? http://stackoverflow.com/questions/1369204/how-to-throw-a-checked-exception-from-a-java-thread an exception will allow. But it does mean there will be a coupling albeit a loose one between the parent and the child thread... e listener.notifyThatDarnedExceptionHappened ... The coupling comes from an object in the parent thread having to be of type..
Singleton Design Pattern: Pitfalls http://stackoverflow.com/questions/1448393/singleton-design-pattern-pitfalls in your tests that waste time. Global state also increases coupling in your code and makes it very hard to refactor. The ideal method..
Why should the interface for a Java class be prefered? http://stackoverflow.com/questions/147468/why-should-the-interface-for-a-java-class-be-prefered types is the key for good encapsulation and for loose coupling your code. It's even a good idea to follow this practice when..
Android - Tabs, MapView, activities within tabs http://stackoverflow.com/questions/1590340/android-tabs-mapview-activities-within-tabs Map and in the individual lists. We really like the loose coupling this provides us we just give a VIEW command and the URI to.. try to switch out the views etc. etc. as well as strongly coupling our program in a way we don't want. Any suggestions on a way.. try to switch out the views etc. etc. as well as strongly coupling our program in a way we don't want. This doesn't follow at all..
Java AWT/SWT/Swing: How to plan a GUI? http://stackoverflow.com/questions/1742001/java-awt-swt-swing-how-to-plan-a-gui their state controlled by the owning JComponent i.e. loose coupling . Use assert to ensure that all UI component modifications are..
Is there a recommended way to use the Observer pattern in MVP using GWT? http://stackoverflow.com/questions/2832779/is-there-a-recommended-way-to-use-the-observer-pattern-in-mvp-using-gwt to events fired from the event bus. There is very little coupling going on and swapping out views presenters or handlers is completely..
Concatenate strings in JSP EL? http://stackoverflow.com/questions/296398/concatenate-strings-in-jsp-el different people at different times. Maintaining a loose coupling between these layers minimizes complexity and maintenance costs...
How to avoid Java Code in JSP-Files? http://stackoverflow.com/questions/3177733/how-to-avoid-java-code-in-jsp-files the model view controller MVC design pattern to reduce coupling between the presentation tier from the business logic JSP scriptlets..
Spring hibernate template when to use and why? http://stackoverflow.com/questions/4067775/spring-hibernate-template-when-to-use-and-why and concentrate on the logic you want. Con you are coupling your application tightly to the spring framework. For this reason..
How to create a modular JSF 2.0 application? http://stackoverflow.com/questions/6199458/how-to-create-a-modular-jsf-2-0-application and the modules only inherit from the API to avoid tight coupling and the application only knows of the modules through runtime..
Sending messages between two JPanel objects http://stackoverflow.com/questions/7053283/sending-messages-between-two-jpanel-objects and the original poster What I'm recommending is looser coupling that the one JPanel has no knowledge of the other JPanel and..
JSF backing bean structure (best practices) http://stackoverflow.com/questions/746047/jsf-backing-bean-structure-best-practices questions and any others that may come up. As for reducing coupling between the JSF page and the backing bean I never allow the.. In general this approach feels right to me. It avoids any coupling between the view and the data. Please correct me if I'm wrong...
|