Subject Re: [Firebird-Java] java stand alone application to local database (no server)
Author Dirk Tschentscher
rag_d25 wrote:

>Hello everybody
>
>Is possible to connect a java stand alone application to a local
>firebird/interbase data base without having a server running?
>
>If is possible, how I can do that?
>
>mr.Ed
>

I just start the server as application from java by using the -n switch
to hide the icon.
With FB1.5 you even don't have to modify the registry in your setup



Process p = Runtime.getRuntime().exec("<myAppDir>firebird/bin/fbserver -n");

...

On exit I call

d.destroy(); //This not very clean I think, but it worx


I don't think the embedded version worx with jBird. (correct me if I'm
wrong)

<orx />