struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Gupta" <amit.gu...@computerware.co.in>
Subject RE: DB Connection Best practice
Date Fri, 24 Dec 2004 05:02:54 GMT
Hi Uma,

I use DBCP for this. Refer my message that I posted an hour ago on tomcat users list. I am
forwarding same to you on your personal ID.

  

-----Original Message-----
From: uma.k [mailto:uma.k@net-kraft.com] 
Sent: Friday, December 24, 2004 10:20 AM
To: 'Struts Users Mailing List'
Subject: DB Connection Best practice

Hi,
I wanted to insert a record into the database or
update a record in the database or
get a record from the database.

Where do I make my database connection? Is it in the Action class? Can I
make a single java class handle all of that for me?

If the above are wrong. Please let me know which is the best practice to do
this.

Thanks
Uma


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message