Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 18th, 2004, 10:05 AM
karthick.srini karthick.srini is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Chennai , India
Posts: 9 karthick.srini User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
JayBird Jboss firebird-ds.xml configuration doubt

Dear Members,


I am working in JBoss and Firebird. In jboss repository 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>jdbcracle: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 study about JBoss & J2ee I learned that in firebird-ds.xml you have configured to plug your own MangedConnectionFactory.
Is it so? Is it provides any performance gain than default manged connection factory?
Or do I provide configuration like other DBs as below ,

//snippet
// (local transaction - my application needs local transaction)
<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


Even I commented out XA-transaction within tx-connection factory and modified rar.xml for local transaction.
But I am not sure of having tx-connection-factory entries of yours. Is there is any advantage in using
FBManagedConnectionFactory over default Jboss's factory
please do let me know about it.

S.Karthick

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > JayBird Jboss firebird-ds.xml configuration doubt


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT