File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes When to Use Session Facade, ServiceLocator and Business Delegate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "When to Use Session Facade, ServiceLocator and Business Delegate" Watch "When to Use Session Facade, ServiceLocator and Business Delegate" New topic
Author

When to Use Session Facade, ServiceLocator and Business Delegate

Ragupathirajan Venkatesan
Ranch Hand

Joined: Aug 18, 2010
Posts: 62
Hi All,

As per my idea, all the three patterns are used to hide the complex business object locations and invoke the business layer with out knowing about where they are located the as well as complexity behind that.

Lets Say, Service locator will be used for complex look-up operation in ejb layered application. I feel people are also using business delegate for the same purpose. It could be great if some one advice which to use in which scenario.

Thanks in advance,
Ragupathirajan

Tess Jacobs
Ranch Hand

Joined: Feb 07, 2012
Posts: 71
    
    3
A similar question was answered here.
Ragupathirajan Venkatesan
Ranch Hand

Joined: Aug 18, 2010
Posts: 62
Thanks a lot for your information.

Regards
Ragupathirajan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When to Use Session Facade, ServiceLocator and Business Delegate