Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 81192 invoked from network); 6 Sep 2004 08:31:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Sep 2004 08:31:47 -0000 Received: (qmail 54291 invoked by uid 500); 6 Sep 2004 08:31:06 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 54265 invoked by uid 500); 6 Sep 2004 08:31:05 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 54251 invoked by uid 99); 6 Sep 2004 08:31:05 -0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,RCVD_IN_RFC_IPWHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [194.242.32.200] (HELO mail.ges.net.tr) (194.242.32.200) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Sep 2004 01:31:03 -0700 Received: (qmail 5706 invoked from network); 6 Sep 2004 08:49:52 -0000 Received: from unknown (HELO msoyer) ([10.0.0.210]) (envelope-sender ) by mail.ges.net.tr (qmail-ldap-1.03) with SMTP for ; 6 Sep 2004 08:49:52 -0000 Message-ID: <067701c493eb$d9a6c740$d200000a@msoyer> From: "muhammed soyer" To: "Tomcat Users List" , "Peng Tuck Kwok" References: <04d001c493d8$8a86de10$d200000a@msoyer> <2fae474804090600447116eb23@mail.gmail.com> Subject: Re: Using JDBC Data source from a business class Date: Mon, 6 Sep 2004 11:31:04 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 Disposition-Notification-To: "muhammed soyer" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yes they are in my web-inf/classes directory .I use them to do my db jobs ..from jsp pages .. these classes access db .so I want to make them use Tomcats conneciton pooling machanism . I can do this from servlets .. -ms ----- Original Message ----- From: "Peng Tuck Kwok" To: "Tomcat Users List" Sent: Monday, September 06, 2004 10:44 AM Subject: Re: Using JDBC Data source from a business class On Mon, 6 Sep 2004 09:12:51 +0300, muhammed soyer wrote: > My servlets are using the ds without a problem ..But I have some classes which are >POJO classes to make my job easier whie accessing the DB ..these classes couldnt use > my JDBC definition ..As I guess its from context problems ..But I couldnt solve the >problem What's the exact problem? You don't exactly say where your POJO classes are, so I assume they are in your webapp right, then it should be ok. > > What should I do to use tomcat's ds from a POJO class ? > > thnx > > -ms > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org << Bu mail GESNET sunucusu tarafindan virus kontrolunden gecirilmistir.>> --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org