Best way to run the server?

Now what i am wondering here is what the best way to run the server would be. Just running the java command/script? Or maybe using docker? Or maybe a systemd service? Btw my server is running ubuntu server 22.04.2 if it matters.
Was this page helpful?