• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS Client Programming model

 
Lingan Rajan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Lingan Rajan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ivan Krizsan
Thanks for your explanation.That Helps.

Lingan.
 
Lingan Rajan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ivan

Thanks for the response. That helps.

Lingan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic