This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Business Delegate / Session Facade interaction questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Business Delegate / Session Facade interaction questions" Watch "Business Delegate / Session Facade interaction questions" New topic
Author

Business Delegate / Session Facade interaction questions

Mark Brownman
Greenhorn

Joined: Mar 24, 2004
Posts: 2
I understand the concept and the benefits of a business delegate "front-ending" a session facade. I am hoping that someone can answer the following questions:
Is it acceptable if a business delegate were to front-end more than one session facade in order to create a more unified service. For example is it ok to create one business delegate that provides Account Inquiry and Maintenance functionality and behind the scenes it talks to an AccounInquiry Session Facade and AccountMaintenance Session Facade?

We are looking at a designing a Account Inquiry business delegate. It will return an AccountProfile business object. A behaviour of the AccountProfile object will be update capability (i.e. update account status, modify balance, etc.). Considering that the business object is a "business tier" component, is it ok if it were to talk directly to an Account Update Session Facade or instead should it use a business delegate which in turn will call the session facade?
Thanks
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
may be this is better asked in patterns forum rather than in EJB.
Kishore.


Kishore
SCJP, blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Business Delegate / Session Facade interaction questions
 
Similar Threads
SCWCD design patterns
Do we need to show BD & Service Locator in Sequence Diagrams?
Session facade
Business Delegate / Session Facade interaction questions
Cleared Part II/III...99%