Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between Session Facade and Business Delegate patterns  RSS feed

 
parag Chatterjee
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody tell me what is the difference between Session Facade and Business Delegate patterns.
BY Session Facade what I perceive is that the Session bean acts as a facade to the underlying entity bean and database.
By Business Delegate my understanding is that the Session bean delegates the business call to some other objects and itself acts as a wrapper method.
If I am wrong can anybody help me understand the same
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. You've got Business Delegate totally wrong. Look at the Sun BluePrint Definition of the pattern. Business Delegate WRAPS a session facade and keeps the cli8ent from having to deal directly with the EJB.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!