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: Is there a particularly good IDE to use with Struts ?

Interview Question: Who makes the Struts?

Interview Question: Why it is called Struts?

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

Interview Question: What is ActionServlet?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: Why are some of the class and element names counter-intuitive?

Interview Question: What is Local client view in EJB?

Interview Question: What is the difference between EAR, JAR and WAR file?

Interview Question: How many EJB Objects are created for a Bean?

Interview Question: What is the difference between find and select methods in EJB?

Types of Interviews

Question: How is the MVC design pattern used in Struts framework?

What is J2EE?

What is Deployment Descriptor?

Latest Articles (in Interview)

Comment on this tutorial