https://github.com/temporalio/hello-world-project-template-j...You have to write your code using Temporal SDK.
At a quick glance:
main() calls WorkflowServiceStubs/WorkflowClient
I also see something called an "Activity"
Also see something called a Worker.
Not trying to argue. Genuinely curious if you think this is within the realm of "not take anything special into account" (be forced to use a specific SDK and lay your logic out in the exact way it supports) or if you didn't know this was referring to Temporal?