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



March 03, 2007 06:14:32 #2
 Pramod   Member Since: Visitor    Total Comments: N/A 

RE: What is session facade
 
A SessionFacade acts like a wrapper class which exposes necessary  methods of all the beans present  in this class , these beans might be entity or session . On calling the method of this class we should write code to call the method on the respective bean i.,e we need to write code that redirects the call to the respective bean which was supposed to handle the request. This class should typpically need to be a remote bean and this shoul act as pont of entry to all other local beans . By this we reduce the network traffic as only once object proxy is being travelled from server to the client.
     

 

Back To Question