• Post Reply Bookmark Topic Watch Topic
  • New Topic

SessionFacade  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!