wood burning stoves 2.0*
The moose likes Web Services and the fly likes what is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "what is "Proxy"?" Watch "what is "Proxy"?" New topic
Author

what is "Proxy"?

Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342
What "proxy" mean in Web Service world?
thanks all


SCJP 5
Anup Kumar
Greenhorn

Joined: Apr 04, 2007
Posts: 4
Proxy refers to the client code which actually consumes the webservice. All the method invocation of the webservice are done through the proxy.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Originally posted by Anthony Karta:
What "proxy" mean in Web Service world?


I think it means the same for all technologies.
A go between with some intelligent feature.


Rahul Bhattacharjee
LinkedIn - Blog
Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342
Originally posted by Anup Kumar:
Proxy refers to the client code which actually consumes the webservice. All the method invocation of the webservice are done through the proxy.


do we create the proxy or it is generated by utility or IDE?

I read somewhere, it said "consuming web services is easy, just create a proxy"

does "proxy" means exposing web services interface/methods to outside world/client?
Anup Kumar
Greenhorn

Joined: Apr 04, 2007
Posts: 4
Originally posted by Anthony Karta:


do we create the proxy or it is generated by utility or IDE?
I read somewhere, it said "consuming web services is easy, just create a proxy"
does "proxy" means exposing web services interface/methods to outside world/client?


IDE's can create proxy for you if you provide them with the WSDL. You need not create it from scratch.
proxy doesnt mean exposing web services interfaces/methods to outside world/client. First of all it refers to the client side code and not the server side. Secondly, proxy just provide a handle to the client application to get hold of the methods provided by the webservice.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: what is "Proxy"?
 
Similar Threads
What is the design pattern of transition delegates?
1. Facade pattern 2. GDPro
Why does "connnection timed out" appear when trying to read remote xml file.
Java and proxies
Another 'Y' game