Subject Re: Embedded Server
Author nagypapi
Driver: Jaybird 1.5
Above the copying, do everything as with normal server, just alter the
url to your database to the following
"jdbc:firebirdsql:embedded:drive:/path/to/database"
egsample: "jdbc:firebirdsql:embedded:c:/data/sexyboy.gdb"

Anyone else?



--- In Firebird-Java@yahoogroups.com, "ebender1985"
<jan.losinski@g...> wrote:
> I already had downloaded these things, but how I use the embedded
> Server in Java?
> Now I use a normal Server with the Connection-String:
> jdbc:firebirdsql..... How I connect to an embedded Server and which
> Driver I use for this?
>
> --- In Firebird-Java@yahoogroups.com, "nagypapi" <nagypapi@f...>
> wrote:
> > Yes there is, and it works! :) At least on my w98_se machine
> >
> > Download Jaybird 1.5 driver
> > for jdk 1.4
> > http://prdownloads.sourceforge.net/firebird/FirebirdSQL-
> 1.5.0Beta3JDK_1.4.zip?download
> > or for jdk 1.3
> > http://prdownloads.sourceforge.net/firebird/FirebirdSQL-
> 1.5.0Beta3JDK_1.3.zip?download
> > (I tested it with 1.4)
> >
> > Download the jaybird library
> > Under win:
> > http://prdownloads.sourceforge.net/firebird/jaybird.dll?download
> > Or under linux:
> > http://prdownloads.sourceforge.net/firebird/libjaybird.so?download
> > (I tested it under win)
> >
> > Download the embedded server:
> > for windows:
> > http://prdownloads.sourceforge.net/firebird/Firebird-
> 1.5.0.4290_embed_win32.zip?download
> > or for linux:
> > Hmmm... No luck there it seems
> >
> > Now what I did to make it work
> > I copied to java folder from <jre home> to somewhere else (because
> I'm
> > using the 1.0 firebeird server and 1.01 jaybird too), let's call it
> > <new jre>
> > copy the files needed from jaybird1.5 archive to the <new
> jre>/lib/ext
> > folder
> > then copy the files of the embedded server AND jaybird.dll to the
> <new
> > jre>/bin
> >
> > Specify the full path to your database like
> > jdbc:firebirdsql:embedded:drive:/path/to/database
> > (drive: if under win)
> > run your program with the <new jre>/bin/java.exe
> > And it seems to work for me, but I have hardly used it
> >
> >
> >
> > --- In Firebird-Java@yahoogroups.com, "ebender1985"
> > <jan.losinski@g...> wrote:
> > > Hello
> > >
> > > Is There an Embedded Server for Java?
> > >
> > > Thank you