How to handle database connection in GWT application

I am processing a website that is developed by GWT and I want to check if there is a database connection between accessing the website. If the database connection is disconnected, I want to send a message because I cannot connect to the server.

Can anyone suggest what would be the best way to handle this?

I know that the method is onFailure(Throwable t)to AsyncCallbackeat. This method is called when the RPC fails for some reason, including (but not limited to) loss of connection.

+3
source share
1 answer

RPC onFailure GWT RPC? AsyncCallback ( DB/NW ..) , AsyncCallback .

+2

All Articles