aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Web Services Proxy Pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Web Services Proxy Pattern" Watch "Web Services Proxy Pattern" New topic
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Web Services Proxy Pattern
 
Similar Threads
When the server generates WSDL during deployment of web service?
SCEA assignment query
After creating WSDL-to-JAVA what i need to do in RAD IDE?
Proxy Vs Decorative pattern
Check if web service is running