• 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?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!