You can define an alias on the server in aliases.conf
(databases.conf
in Firebird 3 and higher), and then specify that alias in the connection url instead.
Say that the alias is myApplicationDb
, then you can use the URL:
jdbc:firebirdsql://myserver/myApplicationDb
However this is less flexible because it requires you to maintain the aliases.conf
file.