File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes doubt on session facade Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "doubt on session facade" Watch "doubt on session facade" New topic
Author

doubt on session facade

Newman Huang
Ranch Hand

Joined: Mar 31, 2003
Posts: 85
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.


SCJP,SCJD,SCEA
Santiago Urrizola
Ranch Hand

Joined: Apr 27, 2006
Posts: 172
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


Santiago Urrizola : La Plata - Argentina<br />SCEA (89%-92%)<br /><a href="http://gpitech.wordpress.com/" target="_blank" rel="nofollow">http://gpitech.wordpress.com/</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt on session facade
 
Similar Threads
Doubt about DAO pattern and Messaging
Patterns Decision Doubt
SCEA assignment query
Session Facade Vs business delegate
mock question: design pattern