• Post Reply Bookmark Topic Watch Topic
  • New Topic

Business Delegate with Session Facade

 
aakash bhatt
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i have a Business Delegate pattern in my Application then for my each Session Faccade do we need a Business delegate Java file
Regards,
aakash
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We don't need to have a one-to-one mapping between business delegates and session facades. The choice is up to you but generally speaking, I would suggest a separate delegate for each facade as I feel it keeps the structure more clear.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest one to one mapping. Having a single BD represent many session facacde will led to code bloating.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!