• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webcontroller and EJBcontroller in java pet store  RSS feed

paul java
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In java pet store we have webcontroller proxy (ShoppingWebController.java) with method method handleEvent(event) which calls EJBController(ShoppingControllerEJB.java). Can I term ShoppingWebController as Business Delegator.

I am asking this question since in all design doc it is termed Business delegator will have a one -to -one methods with the session facade.

Actually in pet store ShoppingClientFacadeLocalEJB.java is the facade and this is accessed using command pattern based on the event type.

Whereas in the case of Admin module we directly have AdminRequestBD(Business delegator) calling OPCAdminFacadeEJB(facade). This is a pretty clear example of Business dlegator.

But as I mentioned above can i term webcontroller as Business delegator.

Please input your feedback...

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!