InterviewSolution
| 1. |
What Is The Difference Between Controller And Task Command.? |
|
Answer» Controller COMMAND is the command that gets called upon a request, just like We have actions in struts and controller in Spring. Task is a step in this bigger process. Task command are the commands that perform SPECIFIC task for a controller command, like service classes in other frameworks. In order to complete the request, a controller command may INVOKE multiple task commands. Other difference are:
Controller Command is the command that gets called upon a request, just like We have actions in struts and controller in Spring. Task is a step in this bigger process. Task command are the commands that perform specific task for a controller command, like service classes in other frameworks. In order to complete the request, a controller command may invoke multiple task commands. Other difference are: |
|