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

Does SessionBeans act as Command Pattern  RSS feed

 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,

I am very new to EJBs, when i read about SessionBeans, it is mentioned that these performes a task for clients and delegates the request to other components/Entity Beans by hiding the complexity of business logic. So can we call them as Command Pattern implemented here, because it separates the client from the executer of that task.

Please correct me if i am wrong.
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session Beans usually acts as a session facade for entity beans.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!