If you have your own in-house servers or have a cloud server with the freedom to configure any PaaS that you want, then Dokku is for you. So far, I have never run into a scenario where Dokku was not able to fit my needs, after deploying many different types of applications with varying frameworks, languages, and connected services. If you already have a PaaS available, however, Dokku may not be for you.
Oracle Java Cloud is especially appropriate for moderate to complex Java applications. Due to BYOL licensing, it is also works well when you are planning to do dev and test in-house and then deploy it on Oracle Java Cloud. It is not well suited for simple Java applications due to the cost of Oracle Java Cloud. Simple applications don't need the fully managed aspect of Oracle Java Cloud.
Dokku might overreach on its assumptions about how you want to host your app, using its own VHOSTS plugin by default. This may be a pro or a con depending on what you want.
Proxy port configuration can be somewhat difficult, with Dokku resetting any pre-deployment configuration to "smart" defaults on the first deployment.
Dokku is incredibly well documented and also takes advantage of the documentation and community of Heroku, being essentially the same thing, but in the case that you encounter an actual bug or issue, it can take time for a fix to make it into a new version. Since you manage Dokku yourself, there is no support team to call for help.
Dokku is essentially the same thing as Heroku, except maintained by you on the platform of your choice. If you have any experience using Heroku, then you will feel right at home using Dokku. Dokku is an entirely free to use PaaS, requiring only that you have a platform to deploy it on, making it far more versatile than Heroku in my opinion.
We selected Oracle Java Cloud for its native integration with other Oracle solutions and its focus on Java applications. Overall, our experience with Oracle Java Cloud has been positive, as it has improved our efficiency, security, and scalability in developing cloud applications.