• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Business Delegate And Stateless Session Facade Strategy

 
Sumit Bhoyar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on SCEA part 2 assignment.
However I am not able to understand some design related concepts-
> If my stateless session bean doesn't have fine grained methods, still I need to use Session Facade design pattern?
> Please confirm, 'There will be a business delegate class per session facade interface'.

Thanks,
Sumit
 
kumar naresh
Ranch Hand
Posts: 120
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sumit,

Just for the purpose of using the pattern, don't use it. For any design problem if the pattern fits properly then only it has to be used. This is mentioned in most of the books.

I think Business Delegate pattern can be avoided when the usage of JEE 5 Dependency Injection comes into picture.

Thanks,
Kumar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic