For testing purposes we start the MinaTaskServer in a different thread. If you want to create a different java app that starts the server directly (the simple option) you can do it. But if you want to start the MinaTaskServer inside the thred that start the process, if that thread dies the task server that should remain up will be stopped automatically.
Your processes and the human task server have different lifecycles. It's up to you where and how to start them.
Greetings.