This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!