27.10.2013 Views

Jaybird 2.1 JDBC driver Java Programmer's Manual - Firebird

Jaybird 2.1 JDBC driver Java Programmer's Manual - Firebird

Jaybird 2.1 JDBC driver Java Programmer's Manual - Firebird

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• The JCA layer represents the heart of the <strong>driver</strong>. Here all connection and<br />

transaction management happens. Additionally this layer adapts the GDS API<br />

and proxies the calls to the GDS implementation.<br />

id Architecture<br />

ManagedConnection<br />

«delegate»<br />

<strong>JDBC</strong><br />

JCA<br />

GDS<br />

• The <strong>JDBC</strong> layer is an implementation of the <strong>JDBC</strong> specification.<br />

• The Pool component represents implementation of<br />

ConnectionPoolDataSource, DataSource and XADataSource interfaces from<br />

the <strong>JDBC</strong> 2.0 Optional Package. The pool implementation uses<br />

ManagedConnectionFactory to create physical connections to the database.<br />

• The Manager component represents a JMX 1.0 compatible implementation that<br />

uses The Services API to manage the database and the server itself. Currently<br />

only calls to create and drop database are available, but in the future a full range<br />

of services will be made public: database backup/restore, user management,<br />

statistics gathering, etc.<br />

Supported Servers<br />

<strong>Jaybird</strong> <strong>2.1</strong> supports all current <strong>Firebird</strong> servers, however no support for the<br />

optimized wire protocol from the <strong>Firebird</strong> <strong>2.1</strong> is being implemented. <strong>Jaybird</strong><br />

versions 2.x in current distribution won't work with InterBase and Yaffil servers,<br />

however the compatibility might be restored in the future.<br />

<strong>Jaybird</strong> supports the following specifications:<br />

ManagedConnectionFactory<br />

«delegate»<br />

Type 4 Type 2<br />

Illustration 1.1 <strong>Jaybird</strong> internal structure.<br />

Pool<br />

JMX Manager<br />

Supported Specifications<br />

Chapter 1. Introduction 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!