Sunday, November 2, 2014

Design Pattern



Observer - whenever an subject object changes state observer object will receive notification

Decorator - bufferedReader and bufferedWriter are examples

Singleton - only one instance per application

Factory - creates object from static factory objects - improves caching, immutable objects are created

Session Facade - it provides a wrapper class of session beans for entity beans

Session Facade Implementation - value object class with getters and setters of required session attributes

No comments:

Post a Comment