Beruflich Dokumente
Kultur Dokumente
Version 0.2
23 November 2004
Author: Emmanuel.Cecchet@inria.fr
C-JDBC Driver
jdbc:cjdbc://host/db
C-JDBC Controller
SingleDB configuration
jdbc:derby:path;create=true
Embedded Derby
-->
<RequestCache>
<MetadataCache/>
<ParsingCache/>
<ResultCache granularity="table"/>
</RequestCache>
<LoadBalancer>
<SingleDB/>
</LoadBalancer>
</RequestManager>
</VirtualDatabase>
</C-JDBC>
Client application
org.objectweb.cjdbc.driver.Driver
org.objectweb.cjdbc.driver.Driver
C-JDBC Driver
C-JDBC Driver
jdbc:cjdbc://host1/db
C-JDBC Controller
RAIDb configuration
com.ibm.db2.jcc.DB2Driver
org.objectweb.cjdbc.driver.Driver
C-JDBC Driver
jdbc:derby:net://host2:1527/db;
create=true;retrieveMessagesFro
mServerOnGetMessage=true;
jdbc:cjdbc://host3/db
C-JDBC Controller
SingleDB configuration
Network Server
jdbc:derby:path;create=true
Derby
Embedded Derby
<DatabaseBackend name="derby1"
driver="org.objectweb.cjdbc.driver.Driver"
url="jdbc:cjdbc://host/xpetstore"
connectionTestStatement="select 1">
<ConnectionManager vLogin="xpetuser"
rLogin="APP" rPassword="APP">
<VariablePoolConnectionManager
initPoolSize="0" minPoolSize="0" maxPoolSize="50"/>
</ConnectionManager>
</DatabaseBackend>
</JDBCRecoveryLog>
</RecoveryLog>