aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Difference between business delegate and session facede? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Difference between business delegate and session facede?" Watch "Difference between business delegate and session facede?" New topic
Author

Difference between business delegate and session facede?

Peter Lee
Greenhorn

Joined: Jun 25, 2003
Posts: 24
Dear All,
Could anyone tell me the difference between business delegate and session facade? I found that both are very much alike.
Thanks.
Peter
Nagendra Inuguri
Ranch Hand

Joined: Jan 08, 2004
Posts: 76
Business Delegate is used to hide the business service implementation in the business layer. Session Facade is used to encapsulate the complexity of interactions between the business objects. Business Delegate can use a Session Facade to service the presentation tier component.
What I mean is Business delegate is like a bridge between Presentation Tier and the Business Tier. Session Facade completely belongs to Business Tier. Hope this clears your question.
Regards,
Nagendra
SCJP1.4, SCWCD 1.3


SCJP SCWCD SCDJWS SCBCD5 SCEA5
Denis Wang
Ranch Hand

Joined: Jan 23, 2004
Posts: 81
presentation logic -> business delegate -> session facade -> ejb logic
business delegate is there to decouple the presentation logic with the specific implementation of ejb. in the future if you want to switch to ejb++, the modification is supposed to be transparent to the presentation.
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Facade(s) act as common entry points to business services. They also help reduce network traffic by eliminiating the need for the clients to invoke multiple finegrained methods.
Business delegates( and delegates in general ) provide a cleanway for the clients to interact with the service layer. They hide complex things such as service lookups, error handling, remoteness of the service etc. They can also implement additional services such as client caching, thread synchronization, service selection and request routing.
Cheers,


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between business delegate and session facede?