Interview Question: Is Decorator an EJB design pattern?

By: Ash Printer Friendly Format    

Question: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.

 

 

 

 



Most Viewed Articles (in Interview )

Interview Question: What is Deployment descriptor?

What do you understand by a J2EE module?

What are the call back methods in Session bean?

What is similarities/difference between an Abstract class and Interface?

Explain the user defined Exceptions?

Explain the new Features of JDBC 2.0 Core API?

What is JSP Output Comments?

Interview Question: Is Struts compatible with other Java technologies?

Interview Question: Who wrote Struts?

Interview Question: Do you have to credit Struts on your own website?

Interview Question: Where can I get a copy of Struts?

Interview Question: How do I install Struts?

Interview Question: Does Struts include its own unit tests?

Interview Question: Where can I get help with Struts?

Interview Question: Why aren't the Struts tags maintained as part of the Jakarta Taglibs project ?

Latest Articles (in Interview)

Comment on this tutorial