what is context object design pattern ?
+2
A:
A Context is a collection of data, often stored in a Map
or in a custom class which acts as a struct with accessors and modifiers. It is used for maintaining state and for sharing information within a system. See this PDF for an indepth description. Though it can be used for efficient and effective data sharing, you should note that many are wary of the Context
pattern as an anti-pattern.
akf
2009-07-16 04:54:46