| 1. |
Is Decorator An Ejb Design Pattern? |
|
Answer» No. Decorator design pattern, is the ONE which exhibits very low LEVEL runtime polymorphism, for the specific and single object (INSTANCE of the class), but not for atleast for a class. It is the stuff to add specific functionality to a single & pointed object and leaves others like it unmodified. It is having close similarities like aspectJ stuff, but not with EJB stuff. No. Decorator design pattern, is the one which exhibits very low level runtime polymorphism, for the specific and single object (Instance of the class), but not for atleast for a class. It is the stuff to add specific functionality to a single & pointed object and leaves others like it unmodified. It is having close similarities like aspectJ stuff, but not with EJB stuff. |
|