Prev Next

Java / Design Patterns

Is Decorator an EJB design pattern in Java?

No. Decorator design pattern adds new behaviors without modifying the existing behaviours to an object which resembles AspectJ and not the EJB.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

What is design pattern in Java? What is Observer design pattern in Java? Name few design patterns used in standard JDK library in Java. Explain strategy design pattern in Java. Difference between Strategy and State design Pattern in Java. Singleton pattern. How to implement a singleton pattern? Why do we need Singleton class? (or) what are the advantages of using singleton pattern? What is Decorator pattern in Java? Give an example of Decorator pattern in Java. Difference between Decorator and Proxy pattern in Java. When to use Setter and Constructor Injection in Dependency Injection pattern? Explain Composite design Pattern in Java. Explain Front controller design pattern in Java/J2ee. Explain MVC design pattern in J2EE. How do you implement a thread-safe Singleton in Java? What is the difference between factory and abstract factory pattern in Java? Is Decorator an EJB design pattern in Java? Explain Facade design pattern. Types of Java Design patterns. Name few Creational Patterns in Java. Name some of the structural design patterns in Java. Name some of the Behavioral design patterns in Java. Explain Builder Design Pattern. Explain Factory pattern in Java. Difference between Service Provider Interface (SPI) and Application Programming Interface (API). Explain Service Provider framework pattern. Explain telescopic constructor pattern in Java. Explain Java beans pattern. Disadvantages of Java beans pattern. Explain builder pattern in Java. Disadvantage of Builder pattern. When to use Builder design pattern? In Java singleton, how do you prevent creating instance using reflection? How do we ensure Singleton Design Pattern in a clustered Environment? Difference between Singleton Pattern and static Class in Java. Give example of singleton class from JDK. When to use Static Class in place of Singleton in Java? Explain Bridge design pattern in Java. Explain prototype pattern in Java. Explain Template method design Pattern in Java. What is filter pattern in Java? Explain Proxy design pattern in Java. What is Adapter pattern in Java? Difference between the Bridge and Adapter pattern in Java. What is Chain of Responsibility Pattern in Java? Explain Intercepting Filter pattern in Java. Disadvantage of using factory pattern for object creation. Which pattern provides greater abstraction than factory pattern? Disadvantages of the singleton pattern. Which classes are candidates of Singleton? What is double checked locking in Singleton? How to prevent creating another instance of Singleton using clone() method? How to prevent creating another instance of Singleton during serialization? Explain mediator pattern in Java. Give few examples of Mediator Pattern in JDK. Explain Command design pattern in Java. What is State Design Pattern in Java? When cloning an object is preferred over creating a new object in Java? Name some of the design patterns that makes use of singleton pattern. Explain Memento pattern in Java. When do you use memento design pattern ? Explain visitor pattern in Java. What is value object design pattern? What is Transfer object design pattern in Java? Explain Service Locator design pattern in Java. Mention some of the core J2EE design patterns. Difference between Front Controller and View Helper in J2EE. Advantages of Factory method design pattern. What is a monolithic architecture? Is template method pattern an example of Inversion of control? Give an example of Template method pattern from JDK. Disadvantages of Immutable class. Types of messaging patterns.
Show more question and Answers...


Comments & Discussions