| 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
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
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.
|
 |
 |
|
|
subject: JAX-WS Client Programming model
|
|
|