• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webcontroller and EJBcontroller in java pet store

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

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...

Paul
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!