wood burning stoves*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Is Webservice Broker pattern analogous  to SessionFacade paired with Business Delegate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Is Webservice Broker pattern analogous  to SessionFacade paired with Business Delegate?" Watch "Is Webservice Broker pattern analogous  to SessionFacade paired with Business Delegate?" New topic
Author

Is Webservice Broker pattern analogous to SessionFacade paired with Business Delegate?

Rajani Gummadi
Ranch Hand

Joined: Dec 17, 2010
Posts: 48
Hello All,

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.

Thanks
Rajani
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1176
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.

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Rajani Gummadi
Ranch Hand

Joined: Dec 17, 2010
Posts: 48
Thank you all.
Thomas Wansu Kim
Greenhorn

Joined: Oct 13, 2013
Posts: 1
they are similar to each other however Session Facade pattern have a tendency to operate between business objects in a business tier. On the other hand, Web Service Broker makes Business services available as web services in a Integration Tier.
 
Consider Paul's rocket mass heater.
 
subject: Is Webservice Broker pattern analogous to SessionFacade paired with Business Delegate?