Loose coupling
Some of the objectives of using patterns in the JEE context are to reduce the coupling between classes on different layers—or even on the same layer—as well as the code reuse (that is, the use of some existing code that provides a certain functionality). With these two objectives, we are able to improve software maintenance and quality. But how?
Loose coupling allows programmers to fix bugs or to develop new functionalities in a layer with minimum impact on the other layers. In addition, with every tested code, methods of special beans or objects may be called from different parts of an application, thereby improving software organization and clarity. As a result of this, software quality is improved and development time ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access