Difference between proxy pattern and session facade pattern

Can some one explain me in simple terms the difference between proxy pattern and session facade pattern ?Thanks
[125 byte] By [anas_sauvegarde1a] at [2007-10-2 20:36:08]
# 1
Major difference is that proxy pattern is applicable for the client tier whereas session facade is applicable for a business tier.
ssv45324a at 2007-7-13 23:19:20 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

A session facade hides who you're talking to. It's a way to take a complex conversation that might include N objects and changing it so a single request is made to the facade, which then orchestrates those N objects to fulfill the request.

A proxy also hides who you're talking to, but the main reason is to disguise the location of the callee. It's how RMI and CORBA work - they have your objects talk to a proxy stub, which handles all the complications of marshalling parameters and unmarshalling the response. From the point of view of the caller, it appears that the callee is in their memory address space. The remoteness of the callee is hidden.

%

duffymoa at 2007-7-13 23:19:20 > top of Java-index,Other Topics,Patterns & OO Design...