RE: Need Database Connectivity Advice

2005-04-11 Thread Daniel H. F. e Silva
inal Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 2:56 PM > To: user@struts.apache.org > Subject: Need Database Connectivity Advice > > > I am at a crossroads of information today, and could use some advice. > Prior to using

Re: Need Database Connectivity Advice

2005-04-11 Thread Duncan Mills
Depending on your feelings towards paying for an O/R mapping solution, there are two long established O/R mapping mechanisms from Oracle. * TopLink (http://www.oracle.com/technology/products/ias/toplink/index.html) * ADF Business Components (http://www.oracle.com/technology/produc

RE: Need Database Connectivity Advice

2005-04-11 Thread hermod . opstvedt
Hi Wake up!! Use Hibernate. It will give you some initial gra hairs, but thereafter you will never look back. Hermod -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 2:56 PM To: user@struts.apache.org Subject: Need Database Connectivity

Re: Need Database Connectivity Advice

2005-04-11 Thread David Evans
Here's how i use the tomcat database pool. (these are just the relevent snippets, if you need the entire source, email me off list and i'll email you the entire DAO) In my DAO: import javax.sql.DataSource; import javax.naming.Context; import javax.naming.InitialContext; import java.sql.Connection;

Re: Need Database Connectivity Advice

2005-04-11 Thread Rodolfo García Esteban/CYII
Por favor, responda a "Struts Users Mailing List" Para: cc: (cco: Rodolfo García Esteban/CYII) Asunto: Need Database Connectivity Advice I am at a crossroads of information today, and could use some advice. Prior to using the Struts framework, I had a

Re: Need Database Connectivity Advice

2005-04-11 Thread Tom Ziemer
Hi, you might want to take a look at Hibernate (www.hibernate.org). It's a powerful yet (fairly) easy to use persistence layer, that can even be used with an existing database schema (Middlegen). There is also a lot of documentation (on- and offline) available for this project. Regards, Tom Sco

Need Database Connectivity Advice

2005-04-11 Thread Scott Purcell
I am at a crossroads of information today, and could use some advice. Prior to using the Struts framework, I had a roll-your-own database pooling solution that of course required threads and Vectors of connections, etc. Upon the start of another new project, I found myself Friday trying to figur