Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Use ActionCommand TO search ??  RSS feed

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:


What do you thinks about?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!