This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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