File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Business Delegate & Session Facade Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Business Delegate & Session Facade" Watch "Business Delegate & Session Facade" New topic

Business Delegate & Session Facade

Rishi Tandon

Joined: Oct 23, 2002
Posts: 17
They both seem to be performing the same task.

Can anybody state differences between Session Facade & Business Delegate.

- Rishi

Rishi Tandon<br />SCJP 1.2<br />SCBCD
Wendal Park
Ranch Hand

Joined: Aug 28, 2001
Posts: 39
My experience with EJB framework is quite limited, but the following is the way I am working in my current project.

I think the difference between Business Delegates and Session Facade is about how you package your application.

If you design to divide your J2EE application into Web side and App side, then the Web side is placed in the Web server while the App side is placed in the App server. They can either be located in the same machine, or physically in 2 separate servers. Business Delegates should be placed in the Web side, along with those Action classes / servlets. On the other hand, Session Facade objects are located on the Application side. My view is that it is the Business Delegates that make calls to the corresponding Session Facades through their remote interface.
[ May 31, 2004: Message edited by: Wendal Park ]

MSc, BSc, SCJP 1.4<br /> <img src="graemlins/banghead.gif" border="0" alt="[banghead]" /> SCBCD
I agree. Here's the link:
subject: Business Delegate & Session Facade
jQuery in Action, 3rd edition