wood burning stoves
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Which one between Session Facade and Business Delegate ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Which one between Session Facade and Business Delegate ?" Watch "Which one between Session Facade and Business Delegate ?" New topic

Which one between Session Facade and Business Delegate ?

Rolando jimenze

Joined: Sep 22, 2006
Posts: 3
Hi all,
I have found very useful tips on this forum about part II.
I'm deciding what kind of facade will be presented to the client to hide the complexity of distributed components.
I have started using this appoach:

Servlet Controller->Business Delegate->Service Locator->DAO->Service

Some other guys on this forum have used Session Facade rather then the Business Delegate pattern. I wonder if they can be used together or
one exclude the other....
IMHO I cannot see a real difference between this two patterns....
Santiago Urrizola
Ranch Hand

Joined: Apr 27, 2006
Posts: 172
I think you are a litle confused

Servlet Controller -> BD -> Service Locator -> Facade -> DAO


Servlet Controller -> BD -> Service Locator -> Facade -> Entity -> DAO
(if you choose BMP)

Santiago Urrizola : La Plata - Argentina<br />SCEA (89%-92%)<br /><a href="http://gpitech.wordpress.com/" target="_blank" rel="nofollow">http://gpitech.wordpress.com/</a>
Ricardo Ferreira
Ranch Hand

Joined: Feb 13, 2006
Posts: 156
Try to read more the J2EE Design patterns catalog. I think that you're a little bit confused about patterns usage and a could be useful you read more.

Best Regards!

Ricardo Ferreira,<br /> <br />Sun Certified Enterprise Architect<br />IBM Certified SOA Solution Designer<br />IBM Certified RUP v7.0 Solution Designer<br />IBM Certified Specialist for RUP v2003
Alex Li

Joined: Sep 24, 2006
Posts: 13

The Business Delegate acts as a client-side business abstraction in web tier. It provides an abstraction and hide the implementation of accessing business services. Using a Business Delegate reduces the coupling between presentation-tier clients and the system's business services.

The Session Facade abstracts the underlying business object interactions and provides a service layer that exposes only the required interfaces. It is located in business logic tier.

So the two patterns can be used together without conflict.

Hope this help.

I agree. Here's the link: http://aspose.com/file-tools
subject: Which one between Session Facade and Business Delegate ?
It's not a secret anymore!