On Tue, Apr 17, 2001 at 07:00:40AM -0500, Doug Ferguson wrote:
> I am not aware that I can't lookup a DataSource from outside the JVM.
Well, you are now, right? :-)
> So this means that only beans will be able to make use of the connection pool.
No, it means that only code executing in the same JVM as JBoss can use
connnection pools. You can access them from servlets, MBeans or any class
that is called inside the JBoss JVM.
> I have pieces of my application which are not ejb and it makes no sense to make
> them ejbs
> I would like to use the j2ee connection pooling to have discrete control over
> the max
> number of db connections open at a given time. Any suggestions?
If this is server-side code, i.e. running in the same JVM as JBoss, then there
should be no problem. If this code is running outside the JBoss JVM, then
this simply will not work and you need to rethink your design.
It is quite possible to use Minerva pools outside JBoss, however, so you can
get JDBC connection pooling anywhere if you really need to.
Toby.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user