Is Webservice Broker pattern analogous to SessionFacade paired with Business Delegate?
Joined: Dec 17, 2010
Looking at the webservice broker pattern given, I thought it is analogous to sessionfacade paired with Business delegate. Can anybody confirm or guide me on that. I'm thinking that endpoint processor is analogous to SessionFacade and Webservice Broker is analogous to BusinessFacade.
Joined: Oct 04, 2006
Yes, I feel that the analogy is appropriate.
Note that it may be the case that the webservice broker does not perform dynamic lookup of the services it in turn invokes.
It may also be the case that this is not needed, since other mechanisms enable the services to transparently change location.
As Ivan said in the study guide about the Endpoint Processor -
Receives incoming request and, for instance in the case of the request being a SOAP request, processes the SOAP message to extract parameters etc.
Endpoint processors are usually part of the runtime system, as is the case with JAX-WS, but may optionally be custom written.
Meaning, its role is to physically process the SOAP message, while the Session Facade pattern defines a higher-level business component that contains and centralizes complex interactions between lower-level business components.
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.