Hello @java_dev
workers are services that, as any other service, you can bundle and deploy together with other/s services or deploy isolated. To me, the preferred approach is the second one, since they might have different requirements. in addition, keep in mind that you will have to redeploy your workers (or deploy new ones with the new implementation) with any change made in the workflow code. Please see here de different versioning strategies Workflow Versioning Strategies
The first is in the application code, which registers itself to perform certain tasks.
I don’t understand what this means, sorry. Do you mean, deploying your workers within the microservice and calling through direct java invocations from the activities to the microservice?
Thanks,