<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE resources PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 9.0 Domain//EN" "*<install directory>/lib/dtds/sun-resources_1_3.dtd*">

<!--
    Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
-->

<!--
    HXTT DBF Type 4 Driver for Xbase database (dbase, Visual DBASE, SIx Driver, SoftC, Codebase, Clipper, PowerPlus, Foxbase, Foxpro, VFP(3.0,5.0,7.0,8.0,9.0, 10), xHarbour, Halcyon, Apollo, Goldmine, and BDE)
    The JAR file for the DBF driver is DBF_JDBC30.jar at http://www.hxtt.com/dbf.html .

    To learn more on JDBC resources, pl. refer to JDBC resources chapter of admin guide.
    Administration Guide >> JDBC Resources  >> Configurations for Specific JDBC Drivers
    http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view

    For detailed explanation of attributes and elements of this resources xml
    pl. refer to sun-resources_1_3.dtd

    Datasource classnames for DBF's Embedded mode:
    ====================================================================================
    |  res-type                             datasource-classname                       |
    ====================================================================================
    |  javax.sql.DataSource                 com.hxtt.sql.HxttDataSource                |
    |  javax.sql.ConnectionPoolDataSource   com.hxtt.sql.HxttConnectionPoolDataSource  |
    |  javax.sql.XADataSource               com.hxtt.sql.HxttXADataSource              |
    ====================================================================================
-->

<resources>
    <jdbc-connection-pool 
        name="dbf_type4_pool" 
        datasource-classname="com.hxtt.sql.HxttDataSource" 
        res-type="javax.sql.DataSource">
        <property name="user" value="DB_USER"/>
        <property name="password" value="DB_PASSWORD"/>
        <property name="url" value="jdbc:dbf:///DATABASE_NAME"/>
    </jdbc-connection-pool>

    <jdbc-resource 
        enabled="true" 
        jndi-name="jdbc/dbf_type4" 
        object-type="user" 
        pool-name="dbf_type4_pool"/>
</resources> 
