• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Which one between Session Facade and Business Delegate ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
Thanks
Rol
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are a litle confused

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

or

Servlet Controller -> BD -> Service Locator -> Facade -> Entity -> DAO
(if you choose BMP)
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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 child proofed my house but they still get in. Distract them with this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic