File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes JAX-WS Client Programming model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS Client Programming model" Watch "JAX-WS Client Programming model" New topic
Author

JAX-WS Client Programming model

Lingan Rajan
Ranch Hand

Joined: Jan 26, 2011
Posts: 30
Hello All
Could anybody explain me what does the "dynamic" mean or represent in the below contexts.

JAX-WS Client Programming Model :
1) Dispatch Client => Dynamic Client Model
My understanding here is that the Client classes are generated on the fly and hence called the dynamic client model . Is that right ?

2) Dynamic Proxy Client
Since the Proxy is generated through some sort of tool what does "dynamic" refers to ?

Thanks.

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
When using Dispatch, no client artifacts are generated. Instead the request messages are assembled dynamically at runtime.
It is possible to use JAXB bean classes generated from an XML schema when using Dispatch. This may not be as dynamic as other methods.

The "dynamic proxy client" programming model is the static client programming model according to this article: http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.express.doc/info/exp/ae/twbs_devwbsjaxwsclient_dyn.html
"Dynamic proxy" seems to refer to the proxy mechanism in the Java runtime. Look at the API documentation of java.lang.reflect.Proxy for details!
Best wishes!

My free books and tutorials: http://www.slideshare.net/krizsan
Lingan Rajan
Ranch Hand

Joined: Jan 26, 2011
Posts: 30
Ivan Krizsan
Thanks for your explanation.That Helps.

Lingan.
Lingan Rajan
Ranch Hand

Joined: Jan 26, 2011
Posts: 30
Ivan

Thanks for the response. That helps.

Lingan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS Client Programming model