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

Session Facade vs. Business Delegate

Gennady Shapiro
Ranch Hand

Joined: Sep 25, 2001
Posts: 196
These two patterns are very similar functionally, except Session Facade is server-bound and Business Delegate is client bound. They both provide:
-reduced coupling
-increased managebility
-simpler interface
-better performance
-cetralized management (SF-resources,BD-exceptions)
Can someone (who actually had this on the exam) point out how Sun formulate the question about how to distinguish them and what are the hints? These are simple patterns but it's a very close call. /J2EEPatternsRoadmap.html
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

In mine, they didn't have both of them as an answer

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Can someone (who actually had this on the exam)
That pretty much eliminates me.....
- satya

Take a Minute, Donate an Hour, Change a Life
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
The options given in the test are very unambiguous and you simply cannot go wrong. I encountered two types of questions covering the patterns section
  • A business scenario is described and you are required to choose one( or more ) patterns that you would employ.
  • One or more features/benefits of a pattern is described in plain English. You are required to identify the pattern.

  • Hope that helps.

    Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
    Paul Michael
    Ranch Hand

    Joined: Jul 02, 2001
    Posts: 697 what really are the differences between Session Facade and Business Delegate patterns?

    SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
    R K Singh
    Ranch Hand

    Joined: Oct 15, 2001
    Posts: 5382
    As far as I have gone through these topic at and
    I found that Session Facade is more about reducing network traffic and Bussiness Delegate is more about hiding complexities on client. Bussiness delegates can be thought of kind of wrapper for Server beans which hides reapeating code everytime likek lookup etc.

    "Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
    Jeff Mychasiw

    Joined: Dec 13, 2001
    Posts: 5
    These patterns are explained very well in the Book: EJB Design Patterns. You can find a PDF at
    R K Singh
    Ranch Hand

    Joined: Oct 15, 2001
    Posts: 5382
    Originally posted by Jeff Mychasiw:
    These patterns are explained very well in the Book: EJB Design Patterns. You can find a PDF at

    Thanks for info..
    When I tried there 2 weeks back it said that it will be available soon. Thanks ..
    deneb shah
    Ranch Hand

    Joined: Feb 13, 2000
    Posts: 60
    Session Facade
    By meaning facade is some kind of an abstraction.
    Lets say that when you want to access the a number of entities. Say u r the teacher and u want to see the attendance of students, if u want to see any important notice on the notice board on the site and so on and so forth.
    you would create a facade so that that object calls all these entities and not you.
    It does the following
    - reduces network
    - helps maintain transaction across entities

    by definition a delegate refers to a representative. a business delegate is supposed to be a business representative.
    So if u have a business service available, u would create a business represntative on the presentation layer so that the presentation layer is independent of the business/service layer
    - hides the complexity of an application to connect to the business systems
    - enables easy development since now the presentation layer can work independently of service layer
    - it can cache data thats on the server side so to as to decrease the round-trip
    Typically a sytem would be
    Servlet -- Action Object -- BusinessDelegate -- SessionFacade -- Entities -- Back-End system

    Some place where experience helps and certifications dont
    I agree. Here's the link:
    subject: Session Facade vs. Business Delegate
    jQuery in Action, 3rd edition