Subject | jboss Firebird-ds xml usage |
---|---|
Author | karthick srini |
Post date | 2004-10-16T18:16:11Z |
Dear JayBird Team Members ,
I am working in JBoss and I am an new bee to Jboss
and databases. In jboss suite there is a file
1. firebird-ds.xml
http://cvs.sourceforge.net/viewcvs.py/*checkout*/jboss/jbosscx/src/etc/example-config/firebird-ds.xml?rev=1.2.2.2
It is different from other *-ds.xml (mostly). For
example in oracle-ds.xml
//snippet
<datasources>
<local-tx-datasource>
<jndi-name>OracleDS</jndi-name>
<connection-url>jdbc:oracle:thin:@youroraclehost:1521:yoursid</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>x</user-name>
<password>y</password>
</local-tx-datasource>
</datasources>
//end of snippet
On reading the somw of the docs in the net I get a
idea (I am not sure) that firebird-ds.xml has
configuration for its own connection faction
(connection pool).
Is it so? Is it provides any performance gain ? Or do
I provide configuration like other DB ? as below ,
//snippet
<datasources>
<local-tx-datasource>
<jndi-name>FireBirdDS</jndi-name>
<connection-url>jdbc:firebirdsql:localhost/3050:c:/Temp/Test.FDB</connection-url>
<driver-class>org.firebirdsql.jdbc.FBDriver</driver-class>
<user-name>sysdba</user-name>
<password>masterkey</password>
</local-tx-datasource>
</datasources>
//end of snippet
Please do detail me,
Thanks & regards,
S. Karthick
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
I am working in JBoss and I am an new bee to Jboss
and databases. In jboss suite there is a file
1. firebird-ds.xml
http://cvs.sourceforge.net/viewcvs.py/*checkout*/jboss/jbosscx/src/etc/example-config/firebird-ds.xml?rev=1.2.2.2
It is different from other *-ds.xml (mostly). For
example in oracle-ds.xml
//snippet
<datasources>
<local-tx-datasource>
<jndi-name>OracleDS</jndi-name>
<connection-url>jdbc:oracle:thin:@youroraclehost:1521:yoursid</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>x</user-name>
<password>y</password>
</local-tx-datasource>
</datasources>
//end of snippet
On reading the somw of the docs in the net I get a
idea (I am not sure) that firebird-ds.xml has
configuration for its own connection faction
(connection pool).
Is it so? Is it provides any performance gain ? Or do
I provide configuration like other DB ? as below ,
//snippet
<datasources>
<local-tx-datasource>
<jndi-name>FireBirdDS</jndi-name>
<connection-url>jdbc:firebirdsql:localhost/3050:c:/Temp/Test.FDB</connection-url>
<driver-class>org.firebirdsql.jdbc.FBDriver</driver-class>
<user-name>sysdba</user-name>
<password>masterkey</password>
</local-tx-datasource>
</datasources>
//end of snippet
Please do detail me,
Thanks & regards,
S. Karthick
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com