Subject | Once again ... Re: Firebird Embedded deploying with Java |
---|---|
Author | palmer_r@ymail.com |
Post date | 2009-04-07T15:49:07Z |
Hi,
And thanks for the responses.
I am surprised since I think this is a very fundamental
thing since Firebird can rum in server or embedded mode.
So even if one was to not use it in embedded mode,
my question is still whether the Jaybird JAR file
is a total re-write of Firebird database engine in Java
hence it is all in this file.
OR is is just a driver to connect to the FireBird engine
which is just a ".dll" file.
Hope there is somebody out there that can clarify.
By the way as for Embedded, Roman Rokytskyy sent me
code on how things work in Server and Embedded, see below:
***************************************************
FBManager m = new FBManager();
m.setServer(host);
m.setPort(3050); //optional
m.start();
// recreate if db exists
m.setForceCreate(true);
m.createDatabase(path, user, password);
m.stop();
for embedded:
FBManager m = new FBManager("EMBEDDED");
m.start();
// recreate if db exists
m.setForceCreate(true);
m.createDatabase(path, user, password);
m.stop();
*******************************************************
Once again I wish to know what files
are important to just get started.
Sincerely,
P
And thanks for the responses.
I am surprised since I think this is a very fundamental
thing since Firebird can rum in server or embedded mode.
So even if one was to not use it in embedded mode,
my question is still whether the Jaybird JAR file
is a total re-write of Firebird database engine in Java
hence it is all in this file.
OR is is just a driver to connect to the FireBird engine
which is just a ".dll" file.
Hope there is somebody out there that can clarify.
By the way as for Embedded, Roman Rokytskyy sent me
code on how things work in Server and Embedded, see below:
***************************************************
FBManager m = new FBManager();
m.setServer(host);
m.setPort(3050); //optional
m.start();
// recreate if db exists
m.setForceCreate(true);
m.createDatabase(path, user, password);
m.stop();
for embedded:
FBManager m = new FBManager("EMBEDDED");
m.start();
// recreate if db exists
m.setForceCreate(true);
m.createDatabase(path, user, password);
m.stop();
*******************************************************
Once again I wish to know what files
are important to just get started.
Sincerely,
P
--- In Firebird-Java@yahoogroups.com, "Mark Rotteveel" <Avalanche1979@...> wrote:
>
> > --- In Firebird-Java@yahoogroups.com, "palmer_r@" <palmerr_2002@>
> > wrote:
> > > So my question is, to use firebird database in Embedded mode
> > > in Java what specific files will I need.
> > >
>
> > I don't think Firebird can be used from Java as an embedded database.
>
> I have never used Firebird embedded, but I do know that you CAN use Firebird as an embedded database from Java. However the jaybird documentation is lacking clarity in that regard.
> --
> Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
>