jQuery in Action, 3rd edition
The moose likes OO, Patterns, UML and Refactoring and the fly likes Facade and Session Facade Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Facade and Session Facade" Watch "Facade and Session Facade" New topic

Facade and Session Facade

Saif Kamaal

Joined: May 07, 2009
Posts: 2

Well this is the closet forum i could get to post my question so please excuse me if it is in wrong place.

Can anyone mention the types of facade design pattern available ? Also what is the diff between Facade and Session Facade ?

PS : My application is getting developed in ADF

Santhosh ayiappan
Ranch Hand

Joined: Jan 30, 2007
Posts: 80

Below URL would be a starter for Facade Pattern.

Facade Pattern
Saif Kamaal

Joined: May 07, 2009
Posts: 2
Well thnks for the reply, but i cannot find what i am looking for. My point is, is Session Facade and Facade the same. If not and Session Facade is a special kind of Facade then what are the other kind of facades available.

Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
The Facade design pattern published by the GOF and the Session Facade pattern published by Sun Microsystems are not the same. They are similar, but they are not the same. There could be other similar design patterns in existence which are either proprietary or public information.
Murali Ranga
Ranch Hand

Joined: Dec 16, 2011
Posts: 38
Facade hides all the complexities of the system.
Clients invoke the interface but application hides all the complexity like creating database connections, processing business logic etc
On the same principle Session Fa├žade is working for enterprise applications for interaction between higher level component and low level components .
Basically hiding the complexities of the system(low level components ) and providing an interface( higher level component )to the client
(You can see on Sun website)
For Example
Higher level component can be Session Bean
Low level components can be Entities.
Client invokes the method on a Session Bean that session bean calls all the other beans(Entities)
Client knows only Interface method and all the complexity handled in the session bean invoking other beans
Example some bank Transactions : has to be done in a single transaction
Means with one request to the server all the processing will be completed and response will be returned.
I am not sure about types of facade design pattern
Think about JMS Messaging
Message is received using publish/subscribe and while processing the message it will interact with other services, database objects/Entities to complete the request.
I agree. Here's the link: http://aspose.com/file-tools
subject: Facade and Session Facade
It's not a secret anymore!