aspose file tools
The moose likes Web Services and the fly likes JAX-WS Client Programming model Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply 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
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JAX-WS Client Programming model
 
Similar Threads
JAX-WS Client
JAX-WS java proxy classes
Need Help to develop client for axis1.2 web service
Client web service with url wsdl entered by user
JAX-WS dynamic proxies and increased platform independence