jQuery in Action, 2nd edition*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Does SessionBeans act as Command Pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Does SessionBeans act as Command Pattern" Watch "Does SessionBeans act as Command Pattern" New topic
Author

Does SessionBeans act as Command Pattern

Pawanpreet Singh
Ranch Hand

Joined: Jun 12, 2005
Posts: 264

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

Joined: Feb 07, 2005
Posts: 643
Session Beans usually acts as a session facade for entity beans.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does SessionBeans act as Command Pattern
 
Similar Threads
�Session Beans vs Entity Beans�
what design Pattern to use for this problem
Developing the webservices.xml file ??
in an app,when to use sessionbean and when to use entitybean
"OR operator" Design and Readability