Business Delegate And Stateless Session Facade Strategy
Joined: Oct 06, 2008
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'.
Joined: Mar 12, 2011
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.