It would very simple to migrate application. Search through mail that I sent to you few days ago. Way to use connection pool is there. Because I m working on Perl project now so I don't have that code handy now.
Amit Gupta Mobile: 91-9891062552 Yahoo IM: amitguptainn MSN IM : amitguptainn -----Original Message----- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 2:56 PM To: Struts Users Mailing List Subject: RE: Database connection question - seeking expert opinion oh, so mean to say automatically i get connection pool - In my servlet i am using (at least currently) normal JDBC call - which i was thinking how i can convert in to connection pool as i heard of it a lot !!! . ok, then can i use struts database method in any class ? or is it restricted to only Action class ? Can i develop some sort of common class to get the connection ? regards Manisha Amit Gupta <[EMAIL PROTECTED]> wrote: Hi Manisha, Struts database method uses DBCP. It offer database connection pooling. So I think struts db method is better Amit Gupta Mobile: 91-9891062552 Yahoo IM: amitguptainn MSN IM : amitguptainn -----Original Message----- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 11:40 AM To: user@struts.apache.org Subject: Database connection question - seeking expert opinion I am still new to struts and even servlets. Last time when i developed servlets, i created one common class method to get the connection (with regular JDBC call). All database related parameters i stored in a constant variable file. Now in struts i found out that we can specify the datasource inside struts-config.xml. I want to know which methodology is better ? Can i continue with my existing method ? or struts database method is better ? regards Manisha __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]