• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

business delegate & session facade

 
Ranch Hand
Posts: 644
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: 8944
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


 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic