|
We have several java apps (approx 40) running on a glassfish cluster,
each of these apps connects to 1 of 4 as400 servers using the JTOpen
AS400ConnectionPool object. the problem is that because each application
has it's own connection pool, it's an inefficient use of resources and
can max out the number of allowed connections to the AS400. What i'd
like to do is have a connection pool that woks like a JNDI JDBC
connection pool where we have a connection pool per server rather than a
connection pool per application.
I know this is possible in WebSphere using a JCA connector and i could
probably develop a solution similar to this manually but i ideally want
to use the built in support for connection pools in glassfish.
From there, it's just standard Java stuff, e.g. in web.xml:
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.