File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt on session facade

 
Newman Huang
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am reading the 'core j2ee patterns'. a question on the pattern of Session Facade. quote the original text from book following:

"A Session Fa�ade is implemented as a session bean and interacts with business components, such as Business Objects (374) and Application Services (357). "

as the interpretation of Business Objects, my understanding is somthing like entity bean those persistent component. also the applicatoin services is another type of 'session facade' except that it is POJOs. if so, Session Facade is an encapsulation for persistent component like ejb. my doubt is, does a session facade can encapsulate a session bean? is it encouraged to do so? or i make a mistake? help.
 
Santiago Urrizola
Ranch Hand
Posts: 172
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lso the applicatoin services is another type of 'session facade' except that it is POJOs.

Application Sevice could be ejb (slsb or sfsb)

Session Facade is an encapsulation for persistent component like ejb

Session Facade encapsulate access to system logic for clients For example
Client -> SessionFacade -> ApplicationService -> entity Bean
or simply
Client -> SessionFacade -> entity Bean
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic