I am using two ways to access the dabase in my apps.

for the JSP, I'm using the Jrun Data source, and using Jrun tags.

for my java classes, I have one DbAccess() that connects to the db, runs a query
and returns a resultset or status (for updates).

Is it possible to use the DataSource created through the Jrun console instead of
writing my own connection routine?

I found some documentation on using javax.sql.DataSource and
javax.sql.ConnectionPoolDataSource but don't understand why I would need to use
JNDI. (and how).

Would appreciate to get any kind of clarification or help in this matter.

Thanks,

Zeina

______________________________________________________________________
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to