Grails - Command object, service method
<p>I'm not a programming savvy person, so please bear with me. </p>

<p>I've read blog entries and docs about command object. I've never used it and was wondering if I should. (I probably should...)</p>

<p>My project requires parsing, sorting, calculating, and saving results into database when users upload files. </p>

<p>So according to one of the <a href="http://www.simplicityitself.io/our%20team/2013/04/21/all-hail-command.html" rel="nofollow">blog entries</a> I read and its corresponding <a href="https://github.com/simplicityitself/all-hail-command" rel="nofollow">github code</a>,</p>

<p>1) <code>SERVICE</code> should receive file uploads, parse uploaded files (mainly docs and pdfs), sort parsed data using RegEx, and calculate data,</p>

<p>2) <code>COMMAND OBJECT</code> should call <code>SERVICE</code>, collect results and send results back to controller, and save results into the database,</p>

<p>3) <code>CONTROLLER</code> should receive request from <code>VIEW</code>, get results from <code>COMMAND OBJECT</code>, and send results back to <code>VIEW</code>.</p>

<p>Did I understand correctly? </p>

<p>Thanks.</p>