Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: OAS 4.0 - JWeb
In article <3722DA1B.4EA749B5_at_dial.pipex.com>,
Graham.Adamson_at_dial.pipex.com wrote:
> Is it possible to create a database pool type mechanism with the Jweb
> cartridge. I like to use a database connection already opened rather
> than open one per request. I had been told it is possible if a static
> connection is created using a class that is part of the classpath and
> not the home directory configured for that particular
> application/cartridge.
From what I'm reading, the JWeb has not built-in connection pooling
mechanism. Ppg 15-40 to 15-41 of the OAS docs show a way in which a
static member variable can be used to hold the connection. This is all
a moot point from what my DBA is telling me. He says that each
application can have 0 or more instances of a cartridge running and
that each instance is essentially a connection to the database. When a
user request comes in, OAS routes the request to an available cartridge.
-Tim
--== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.--- Received on Thu May 13 1999 - 13:52:15 CDT