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

Use ActionCommand TO search ??

 
Jose Jim´┐Żnez
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I use command pattern to search? I explain me:

In petstore actions are used to change the state of model or user's session but not to search. In this case action only return a Integer to the front controller in order to decide the next screen.

Could I use the actions to search. Is said that actions return information (ValueObject) to the views ? I can use ControllerEJB as only one point to access to bussiness logic:

browser-->froncontroller-->templateServlet-->View-->ViewHelper-->ControllerWebImpl-->ControllerEJB-->Action-->Facade-->Entity/SessionBean

What do you thinks about?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic