Programming Tutorials

Interview Question: Is Decorator an EJB design pattern?

By: Ash in Interview Tutorials on 2008-08-13  

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.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Question: What is a Hidden Comment in JSP?

What types of comments are available in the JSP?

Tell me something about J2EE component?

The output of System.out.println(5<<2) in Java

What is the difference between jsp:include page and @ include file?

What is the difference between Session Bean and Entity Bean?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Interview Question: Do ActionForms have to be true JavaBeans?

What is Collection API?

Name the containers which uses Border Layout as their default layout?

What is the difference between jsp:forward and response.sendRedirect(url)

Explain garbage collection?

Interview Question: What is abstract schema?

What is the difference between JTS and JTA?

Why J2EE is suitable for the development of distributed multi-tiered enterprise applications?

Latest Articles (in Interview)