Subject Re: [Firebird-Java] Re: JayBird + Firebird on Android
Author Mark Rotteveel
On Thu, 17 Nov 2011 08:27:48 -0000, "oleg_ma" <oleg_ma@...> wrote:
>> How to connect to the Fireberd from android application ?
> Class.forName(FBDriver.class.getName());
> Connection connection =
> DriverManager.getConnection("jdbc:firebirdsql:",
> "SYSDBA", "masterkey");
>> Where does Firebird run?
> Firebird run Linux server
> Plan to use connects via Wifi networks connection (Android 2.2)

Looking at and
remembering the error you received, I suspect getting Jaybird to work on
Android would require quite some work rewriting the driver to work. I think
you will probably be better off (and more scalable) to create a webservice
near the database and having the android application access that webservice
instead of accessing the database directly.

It will probably also be more performant and more secure (the 'insecure'
mobile phone can only perform those actions that the webservice exposes),
and will probably improve the technical design of the application.