| Author |
Web Services Proxy Pattern
|
Chih-Wei Lee
Ranch Hand
Joined: Feb 20, 2008
Posts: 129
|
|
Hi:
To access a web service, I am going to use Proxy design pattern in my architecture.
But how much detail I need to provide about the proxy class?
The proxy class is supposed to be generated by tool and it contains communication detail like form a SOAP message,
which is hard to show in diagram.
Can I just hide all of proxy class implementation detail and make assumption that it will generated by tool?
Best,
|
SCEA, SCJD, SCDJWS, SCWCD, SCJP
|
 |
Dmitri Ericsson
Ranch Hand
Joined: Feb 16, 2010
Posts: 109
|
|
Hi,
When I've used this pattern for web services, I've just shown a class e.g. ExternalSystemService, put a stereotype saying that it's a Proxy and commented that business logic uses this class and JAX-WS libraries to connect external systems via web services. I didn't show any generated objects for web service messages.
|
SCEA 5, SCJP 6 My SCEA Experience
|
 |
Chih-Wei Lee
Ranch Hand
Joined: Feb 20, 2008
Posts: 129
|
|
|
Thank you very much Dmitri! I really appreciate.
|
 |
 |
|
|
subject: Web Services Proxy Pattern
|
|
|