Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Advantages/disadvantages: comparing Static Stub and Dynamic Proxy

843834Jan 19 2004 — edited Jan 28 2004
Hi,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2004
Added on Jan 19 2004
5 comments
459 views