Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client Proxy

 
Kathy Lynch
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone explain to me what is meant by "client proxy". There is some comments in some code that I am editing that declares "This is the reference to the client proxy."
Thanks in advance for any help!
 
Junilu Lacar
Bartender
Pie
Posts: 7758
62
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A proxy is an object that acts in behalf of another object.
There are a number of applications for a proxy and it would be hard to tell what it is in your case without seeing some code. In general though, the proxy acts as a kind of middle man for a client object and the "real" object that is being proxied.
The GoF book lists the following types of proxies:
1) remote proxy - provides a local representative for an object in a different address space
2) virtual proxy - creates expensive objects on demand.
3) protection proxy - controls access to the original object.
4) smart reference - is a replacement for a bare pointer that performs additional actions when an object is accessed.
HTH
Junilu
 
rani bedi
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go through the article on
http://developer.java.sun.com/developer/technicalArticles/DataTypes/proxy/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic