aspose file tools
The moose likes JDBC and the fly likes Oracle connection pool thru app server? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Oracle connection pool thru app server?" Watch "Oracle connection pool thru app server?" New topic
Author

Oracle connection pool thru app server?

Marshall B Thompson
Ranch Hand

Joined: Apr 11, 2002
Posts: 42
I will be writing a web app that hits an oracle db. I plan to use the oracle oci drivers so that I can use proxy authentication. My web server is the Sun Java System Web Server 6.1, and we use it's internal app server capabilities for our app server. I had planned on manipulating the oracle connection pool directly from java code using the oracle supplied driver and classes. However; I see that I can define a connection pool to my app(web) server. I assume this would let me use JNDI to get my datasource. Big deal. Any other reasons? I'm leaning toward not defining the connection pool to my web server.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26144
    
  66

Marshall,
It is best to let the app server handle the connection pool and use datasources. Why would you want to write something that the app server already does?


[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
 
I agree. Here's the link: http://jrebel.com/download
 
subject: Oracle connection pool thru app server?
 
Similar Threads
Help please!!! Is there a method for closing sessions java-side?
suggestion for DB pool
Oracle Clob error on shared Sun One connection pool
Connection pooling
Can we set connection timeout through Hibernate without using C3P0?