Hi !
This is regarding 'b4A clients' accessing a database 'via JRDC2'.
My doubts:
1) Detecting Database Server accessibility at the Network Level -> When the 'B4a Client' comes up, and there is no 'network accessibility' to the 'Server Database [accessed via JRDC2], an appropriate message has to be shown in the 'b4A Client' application that the 'Server Database cannot be reached due to network unavailability/network restrictions' . Here assume that JRDC2 is running on the Server successfully but the 'b4A Client' is not able to access the Database 'due to some 'Network Issues [it may be network unavailability/network restrictions' .
2) Detecting Whether JRDC2 is running or otherwise [at the Client Side] - How to detect in the B4A Client application whether the JRDC2 Server is down or running ? When the b4A client comes up and if the JRDC2 Server is down then an appropriate message has to be shown on the screen. JRDC2 Code shows 'at server side' that the JRDC2 Server is running or otherwise .. How to detect the same in the Client ?
3) Detecting 'all active B4A front-end clients' from the JRDC2 Server and 'updating their front-ends with some information' when that information changes on the Database server - Is it possible to 'update the front-ends' of ALL 'Active b4A clients(at a given point of time)' with 'some information' the moment some data (stored in an RDBMS) is updated on the Server database (on which JRDC2 is running).. Here assume that only the front-end GUI has to be updated and we are not talking of any Local Database Store updation on the b4A Clients.
Is this possible via any code from the Server side ?
Thanks..
This is regarding 'b4A clients' accessing a database 'via JRDC2'.
My doubts:
1) Detecting Database Server accessibility at the Network Level -> When the 'B4a Client' comes up, and there is no 'network accessibility' to the 'Server Database [accessed via JRDC2], an appropriate message has to be shown in the 'b4A Client' application that the 'Server Database cannot be reached due to network unavailability/network restrictions' . Here assume that JRDC2 is running on the Server successfully but the 'b4A Client' is not able to access the Database 'due to some 'Network Issues [it may be network unavailability/network restrictions' .
2) Detecting Whether JRDC2 is running or otherwise [at the Client Side] - How to detect in the B4A Client application whether the JRDC2 Server is down or running ? When the b4A client comes up and if the JRDC2 Server is down then an appropriate message has to be shown on the screen. JRDC2 Code shows 'at server side' that the JRDC2 Server is running or otherwise .. How to detect the same in the Client ?
3) Detecting 'all active B4A front-end clients' from the JRDC2 Server and 'updating their front-ends with some information' when that information changes on the Database server - Is it possible to 'update the front-ends' of ALL 'Active b4A clients(at a given point of time)' with 'some information' the moment some data (stored in an RDBMS) is updated on the Server database (on which JRDC2 is running).. Here assume that only the front-end GUI has to be updated and we are not talking of any Local Database Store updation on the b4A Clients.
Is this possible via any code from the Server side ?
Thanks..
Last edited: