File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Oracle-ds.xml and Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Oracle-ds.xml and Connection Pooling" Watch "Oracle-ds.xml and Connection Pooling" New topic

Oracle-ds.xml and Connection Pooling

Narendran Nair
Ranch Hand

Joined: Sep 25, 2003
Posts: 35
Hello guys !!!

I got one dought ....
I got a oracle-ds.xml file and inside that file i got the <max-pool-size>15</max-pool-size> and my question is, Is there anyway to get this number 15 from this xml file, when the server is running plus my session bean in running .. i am working on a connection pooling mechanism ... and i just dont want to hard code the value 15.

any suggestions guys !!!


Narendran J S<br />SCJP 1.4<br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
norman richards
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
You can query and update the value using the MBean interface. This can be done programmatically or through something like the JMX Console.
I agree. Here's the link:
subject: Oracle-ds.xml and Connection Pooling
jQuery in Action, 3rd edition