Subject | Re: [Firebird-Java] Re: Embedded Server |
---|---|
Author | Niki Ivanchev |
Post date | 2004-04-21T11:58:13Z |
Simply modify library.path to include the folder where you have dll's
*before* initializing database
We have 5 applications that use embedded firebird with java.
No problem at all.
Please keep in mind then if you deploy to win98se/me you need
msvcrt60.dll also
If you need code fragment, just let me know
Niki
ebender1985 wrote:
*before* initializing database
We have 5 applications that use embedded firebird with java.
No problem at all.
Please keep in mind then if you deploy to win98se/me you need
msvcrt60.dll also
If you need code fragment, just let me know
Niki
ebender1985 wrote:
>Thank you, It was already a big help, but I've another question:[Non-text portions of this message have been removed]
>I must Copy the Embedded Server binaries and the jaybird.dll in the
>bin-dir of my JRE?
>Can I Change this that I can use my application-dir for the binaries?
>Because it's easier to deploy.
>
>Thanks, Jan
>
>--- In Firebird-Java@yahoogroups.com, "nagypapi" <nagypapi@f...>
>wrote:
>
>
>>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
>>>>>
>>>>>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>