Advantages/disadvantages: comparing Static Stub and Dynamic Proxy
843834Jan 19 2004 — edited Jan 28 2004Hi,
I've been through the tutorial (Creating Web Service Clients with JAX-RPC) and am still a bit puzzled about the pros and cons of the first two client types presented.
The Static Stub client is said to be "implementation-specific".....
What do they really mean by this? Specific to what implementation?
I can see that they have directly referenced a class ("which is not defined in the specifications") that was generated by wscompile. However, the Dynamic Proxy example seems to do the same thing more or less.
In short, as both the Static Stub and Dynamic Proxy examples rely on you running wscompile against the WSDL, what benefits/disadvantages are there of using one approach rather than the other?
Any recommendations based on your experiences or other insights would be appreciated.
Thanks,
D.