How to make a custom Delegate and deploy it to Camunda in docker

I find a page about service task https://docs.camunda.org/get-started/java-process-app/service-task/
I am a newbie.
I don’t know how to make a simple project, not a spring boot. after build, we get a jar. then put the jar in somewhere. or just put the .java file into somewhere?

If it’s a springboot project you should be able to just run the jar itself.

@Niall yes I can do it by following https://docs.camunda.org/get-started/spring-boot/project-setup/.

I have used
docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:latest to run camunda.
I want to write a new Delegate class and install it to my camunda container.
I have not found an example.

I dont think you actually need the docker image you’ve started.
Your springboot project should have everything already embedded, as well as your delegate code. You should just shut down the docker image and start your project as a springboot application and it should have everything you need running.

There is no need to deploy a spingboot project to an application server.