Subject Re: [Firebird-Java] Conexion to Firebird
Author Catalin Florean
As Roman said you need the Jaybird driver. In the "/examples" folder of the
zip file you will find 2 samples that present the connection to Firebird
from java.

If you use a servlet container, i.e. Tomcat, you can also use the "context"
method, something like this:

...
...
DataSource ds_compass = null;
try {
InitialContext ctx = new InitialContext();
ds_compass =
(DataSource)ctx.lookup("java:comp/env/jdbc/dbcorpvs");
}
catch (Exception ex) {
...
}
...
...

and define your DataSource (jdbc/dbcorpvs in my example) at Tomcat level and
let it manage the connection pool.
For more information go to http://tomcat.apache.org

Hope this helps,
Catalin.




On 7/19/07, betoban2007 <betoban2007@...> wrote:
>
> Somebody has documentation on the connection to Firebir from Java? I
> appreciate any collaboration.
>
>
>


[Non-text portions of this message have been removed]