This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Driver instances cached in JBoss? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Driver instances cached in JBoss?" Watch "Driver instances cached in JBoss?" New topic
Author

Driver instances cached in JBoss?

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

I am using JBoss-3.2.3 and have deployed a datasource as follows:




Does JBoss, cache the instances of the driver class, i.e. in this case instances of com.db.driver.DriverImpl . If there is some other datasource on the same server which also uses the same driver class, then does JBoss use the same instance of the driver class, for both these datasources?


[My Blog] [JavaRanch Journal]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

Jaikiran,
I'm moving this to our JBoss forum since it is about how JBoss behaves with respect to datasources.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
 
subject: Driver instances cached in JBoss?
 
Similar Threads
Could not enlist in transaction on entering meta-aware object
Problem with DataSource
JBOSS startup error
javax.persistence. TransactionRequiredException
Canot find the data sourcse OracleDs ?