Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SessionFacade

 
Jen Carol
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't one session facade enough to handle the whole application? What is the logic behind having several stateless session beans like Order processor, catalog processor, etc.?
 
Allan Christensen
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jen,

Depending on the size and nature of your application you may only see one SessionFacade. However, I would group functionality into individual Facades. For example, if you have an e-commerce application I would have a SessionFacade for managing the product catalogue and another for managing customers, etc.

Kind regards,
Allan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic