If you still haven't recognized it, that is the way how you establish a JDBC connection in the cloud. You do not define a host name directly in your coding. The database is bound via the resource binding to the application.
Instead of asking several times the same question you should read through the documentation to get the understanding.