aspose file tools*
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
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.
 
wood burning stoves
 
subject: Does SessionBeans act as Command Pattern