This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle-ds.xml and Connection Pooling

 
Narendran Nair
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !!!

regards
Naren
 
norman richards
Author
Ranch Hand
Posts: 367
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic