StatCounter

View My Stats
Showing posts with label What are the different types of Proxy Patterns?. Show all posts
Showing posts with label What are the different types of Proxy Patterns?. Show all posts

Sunday, February 8, 2009

What are the different types of Proxy Patterns?

What are the different types of Proxy Patterns?


1 - Remote Proxy - A reference is given to a different object in a different memory location. This may be on a different or a same machine.

2 - Virtual Proxy - This kind of object is created only & only when really required because of its memory usage.

3 - Cache Proxy - An object that behaves as a temporary storage so that multiple applications may use it. For example, in ASP.NET when a page or a user control contains the OutputCache directive, that page/control is cached for some time on the ASP.NET web server.