Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread M.Liang Liu
I am a freshman to struts. And now I got a problem to make my decision which data-source should I choose. The point is as following: I created a project via myeclipse using Tomcat 5.5.X as the web server.Asa result,I can use the Tomcat data-source related to JNDI: Step1.define the

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread Dan Jas
I saw a comment earlier that the Struts data-source is deprecated and should not be used. - Original Message - From: M.Liang Liu [EMAIL PROTECTED] To: user@struts.apache.org Sent: Thursday, April 20, 2006 9:45 PM Subject: Data-sources using struts:Tomcat's or NOT? I am a freshman

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread Tamas Szabo
Hi, On 4/21/06, M.Liang Liu [EMAIL PROTECTED] wrote: I am a freshman to struts. And now I got a problem to make my decision which data-source should I choose. The point is as following: I created a project via myeclipse using Tomcat 5.5.X as the web server.Asa result,I can use the

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread Dave Newton
M.Liang Liu wrote: My question is that: Which one is better namely more effective?Which one is deprecated? Or both are OK? From http://struts.apache.org/struts-doc-1.2.9/faqs/database.html: NOTE: It is preferred that data connectivity be handled directly by the business classes, usually

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread M.Liang Liu
Thanks a lot for every one's immediate remark.I may have got it. And I find that the struts-doc-1.2.9 is of use for beginners as me.