Subject | Re: [Firebird-Java] jboss Firebird-ds xml usage |
---|---|
Author | David Jencks |
Post date | 2004-10-16T19:35:28Z |
jaybird is itself a j2ee ca resource adapter. All other databases
require wrapping a Driver implementation or XADataSource
implementation with some j2eeca-jdbc wrapper such as one of those
provided with jboss. There's a simplified configuration for such
wrapping, but for jaybird/firebird you will get better performance and
more features by using the j2eeca adapter directly.
david jencks
require wrapping a Driver implementation or XADataSource
implementation with some j2eeca-jdbc wrapper such as one of those
provided with jboss. There's a simplified configuration for such
wrapping, but for jaybird/firebird you will get better performance and
more features by using the j2eeca adapter directly.
david jencks
On Oct 16, 2004, at 11:16 AM, karthick srini wrote:
> 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
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
> <f2_free2_300x250_def_0904.gif>
> <l.gif>
>
> Yahoo! Groups Links
>
> • To visit your group on the web, go to:
> http://groups.yahoo.com/group/Firebird-Java/
>
> • To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
> • Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>