RE: JDBC connection

2004-06-24 Thread Geeta Ramani
Hi Xinhua: Here's a link explaining what you want to know: http://jakarta.apache.org/struts/faqs/database.html regards, Geeta > -Original Message- > From: Lin, Xinhua [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 9:05 AM > To: [EMAIL PROTECTED] > Subject: JDBC connection > >

Re: JDBC connection

2004-06-24 Thread Nicolas De Loof
database access should be done into DAO (Data Access Objects) with CRUD methods (CReate Update Delete), having beans as parameters and return values. Some call those beans 'domain model beans'. DAO should have a way to get a JDBC connection according to current transaction. You can pass a conne