Hi everybody<br><br>I&#39;m currently working on &quot;Domain Management - Add support for database authentication&quot; <a href="https://issues.jboss.org/browse/AS7-1370">https://issues.jboss.org/browse/AS7-1370</a> and <a href="https://issues.jboss.org/browse/AS7-1371">https://issues.jboss.org/browse/AS7-1371</a> and struggling with a design issue. What I need to solve is that you are able to setup a connection pool for database authentication, and I was told that I could not depend on the JBOSS subsystem when running in domain mode.<br>
<br>So I basic need some functionality to handle a database connection pool, I can see 3 options but I don&#39;t know what is the best approach and what the guidelines are<br><br>1. Reuse some existing code in the project, I don&#39;t if it possible to take <span id="result_box" class="short_text" lang="en"><span class="hps">advantage</span></span> of existing code for maintaining a database connection pool?<br>
2. Use an existing 3 party lib, that will provide this functionality. I don&#39;t what are the common guidelines for adding new 3 party libs to the project?.<br>3. Write my own simple connection pool manager. <br><br>I was started on no. 3 and don&#39;t think it will be a huge task.<br>
<br>What do you think, does it make sense?<br><br>br<br>Flemming<br><br>