Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAF pattern - command handler, state machine, component manager

 
Roger Rustin
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my quest to understand the pet store example, I came across so many issues. I am still battling and any help in this direction would be appreciated.

In pet store example requestprocessor converts all requests into Action and then Actions into Events. Events are assigned EJBAction name - meaning the EJB which will process this event.

This event is then handed over to the EJBcontroller which forwards the event to the right EJB. The event response will contain the updated model.

In the whole schema I have following questions.
1) What's the role of command handler in this design?
2) What's the role of state machine role?
3) What's the role of ComponentManager?

thanks.
- Roger
 
Walk Rustin
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone. just reactivation the thread. One more thing:

- there is only one EventRespone OrderEventResponse.java.

Why use one special pattern for retrieving order info and another for getting the list of pets.

thanks.
- Roger
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic