GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  EJB

 Print  |  
Question:  What is session facade



May 05, 2008 16:02:47 #4
 coolguy_krkr   Member Since: May 2008    Total Comments: 4 

RE: What is session facade
 
Session facade is one design pattern that is often used while developing enterprise applications.


It is implemented as a higher level component (i.e.: Session EJB), and it contains all the iteractions between low level components (i.e.: Entity EJB). It then provides a single interface for the functionality of an application or part of it, and it decouples lower level components simplifying the design.

Basically we wrap all the calls inside a Session Bean, so the clients will have a single point to access (that is the session bean) that will take care of handling all the rest.

Hope this answers the question.


Thanks
Rama
     

 

Back To Question