• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

doubt on session facade

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic