What is Context Object Design Pattern when it will be used in Real time ?

Showing Answers 1 - 3 of 3 Answers

padmasri_p

  • Oct 2nd, 2007
 

A context object encapsulates web server specific HTTP information in more general and portable form.

It is used when

 * you have components and services that need access to the system information.

 * You want to decouple application components and services from the protocol specifics of system information.

 * you want to expose only relevant APIs within a context.


Use a context object to encapsulate state in a protocol-independent way to be shared throughout your application.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions