For our application we have configuration file for connection to the Oracle Databese (url, user, pass).
Application start for 2-5 minutes. If some wrong with databese i see this in logs, but i must wait this 2-5 minutes... it is lost of time...
So I try find most quickly and simply way to determine that with database all ok and database online.
Do you have any idea how can I do it?