Design Patterns: Elements of Reusable Object-Oriented Software
Citations
8 citations
Cites background or methods from "Design Patterns: Elements of Reusab..."
...In this paper, we consider a kind of Java legacy systems who only have binary executable file, no any source code and document and use Java design patterns, such as Interface and Dependency Injection pattern [9]....
[...]
...Aspect loaded during runtime execution seems be better than the approaches in [7, 8] since it can eliminate the coupling smell in both source and bytecode level completely....
[...]
...Button is high coupling with Lamp One can adopt the interface pattern that Button only relies on the interface SwitchableDevice instead of any concrete class [9], showed in Fig.2. public interface SwitchableDevice{ Public void turnOn(); } public class Button { /** * Button is only coupling with the…...
[...]
...*/ /* For brevity, we skip the getter and setter method */ private SwitchableDevice lamp; public void push(){ lamp.turnOn(); } } Fig.2....
[...]
8 citations
8 citations
Cites background from "Design Patterns: Elements of Reusab..."
...This problem is well-known in software engineering and it enjoys a well-known solution as well: the visitor design pattern [9]....
[...]
8 citations
8 citations
Cites background or methods from "Design Patterns: Elements of Reusab..."
...We provide a ContextTypeSensor superclass playing the Subject role in the Observer Pattern [18]....
[...]
...The MobileApplication class has a Façade role [18] and represents a mobile application which will enhance existing Web page(s)....
[...]
References
17,939 citations
3,882 citations
3,673 citations
2,411 citations