hello,
we're using jrun 3.0 and oracle. i'm under the impression that using
oracles jdbc 2.0 connection pooling is going to be better for performance
because it is optimized for their database as opposed to a more general
connection pooling mechanism such as the one used in jrun. it is easy for
me to do this for servlets because i can create a servlet that initializes
an oracle connection pool and registers it with jndi for use with any other
servlet or jsp. my problem is in how to make this connection pool available
for use with my ejb's. i know i could use the ejipt datasource property,
but i don't think i can use this because it creates an instance of the
oracle driver that does not use their connection pooling. i've tried
accessing the connection pool made with my servlet through jndi, but the
jdni context i get does not seem to be the same one that the pool was
registered with from the servlet and the connection pool isn't there. is
this right? is there one global jndi context that my servlets, jsp's, and
ejb's can see? how can i make one connection pool and use it throughout all
my java resources?
thanks!
| chris wilson || web dev ||| www.wondergeek.com || |
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.