RE: Need Database Connectivity Advice

2005-04-11 Thread Daniel H. F. e Silva
Hi I think now i'll have to go into this thread :) I recommend looking at list's archive. We already had this discussion at least 2 or 3 times before. But, if you are a lazy bastard like me, i'll point a summary of our past discussions adding my opinion: Hibernate: - Good: active proj

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 Advice

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
I would use hibernate. It´s the best framework for object-persistence (I think), works very well with struts + Tomcat 5.0 (I haven't thes 5.5). I think it would be a good approach Rodolfo "Scott Purcell" <[EMAIL PROTECTED]> 11/04/2005 14:56 Por favor, responda a "Str

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