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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.