• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

business delegate & session facade

 
Ranch Hand
Posts: 647
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
What is the diference between the two. Both seems so much similar.
Thanks,
Trupti
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From what I understand a Business Delegate resides on the presentation tier or some other layer that is a "client" to the business layer. It decouples the presentation tier from the business tier.
Session Facade resides on the business tier and provides an interface for executing applications business logic. It abstracts the clients from the application logic within the business tier.
A web application will invoke methods on the Business Delegate. The Business Delegate will then be responsible for converting the data in the request to what is expected by the business logic layer, invoking business logic, and returning the result. On the business logic side this request will be received by a Session Facade that will execute the request and produce a responce.
Thats the way I understand it.
Im interested in hearing what others have to say
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Business delegate reduces the coupling between presentation tier and business service. This pattern hides the implemantation details of EJB lookup ands architecture. I don't think "decouple" is the right word..reduction in coupling is the right word. Does anyone disagree?

Originally posted by Steve Chernyak:
From what I understand a Business Delegate resides on the presentation tier or some other layer that is a "client" to the business layer. It decouples the presentation tier from the business tier.
Session Facade resides on the business tier and provides an interface for executing applications business logic. It abstracts the clients from the application logic within the business tier.
A web application will invoke methods on the Business Delegate. The Business Delegate will then be responsible for converting the data in the request to what is expected by the business logic layer, invoking business logic, and returning the result. On the business logic side this request will be received by a Session Facade that will execute the request and produce a responce.
Thats the way I understand it.
Im interested in hearing what others have to say


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic