RE: [OT] Handling JDBC transactions

2004-09-23 Thread Shapira, Yoav
Hi, I feel JTA is the solution. JOTM have a documentation on how to use it in Tomcat. But requiring to use JNDI is a problem because Tomcat JNDI is not available outside Tomcat and I cannot run unit tests. Thanks for the help. Cactus (as in the Jakarta in-container testing project) is good for

Re: [OT] Handling JDBC transactions

2004-09-23 Thread Antony Paul
: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 23, 2004 6:21 PM Subject: RE: [OT] Handling JDBC transactions Hi, I feel JTA is the solution. JOTM have a documentation on how to use it in Tomcat. But requiring to use JNDI is a problem because

RE: [OT] Handling JDBC transactions

2004-09-23 Thread Shapira, Yoav
Hi, Cactus is in-container testing(I assume). Takes time. I want to test code as I write it. Already the development time for deploying an application is high because of having a different source directory than web application directory and of Ant. Good luck. If you want to have tests that

Re: [OT] Handling JDBC transactions

2004-09-23 Thread Anto Paul
Simulating real world is a QA fellows job. I write code, foresee any bugs that it may have, write tests for it, run tests using Ant, deploy to Tomcat(copy files) and test. Only JSP pages one need to test using a container with every change for- for the visual layout. rgds Anto Paul On Thu, 23

RE: [OT] Handling JDBC transactions

2004-09-23 Thread Shapira, Yoav
Hi, OK. To each their own testing philosophy ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 9:10 AM To: Tomcat Users List Subject: Re: [OT] Handling JDBC transactions Simulating real

RE: [OT] Handling JDBC transactions

2004-09-23 Thread Shapira, Yoav
PROTECTED] wrote: Hi, OK. To each their own testing philosophy ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 9:10 AM To: Tomcat Users List Subject: Re: [OT] Handling JDBC transactions

Re: [OT] Handling JDBC transactions

2004-09-23 Thread Anto Paul
testing philosophy ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 9:10 AM To: Tomcat Users List Subject: Re: [OT] Handling JDBC transactions Simulating real world is a QA

Re: [OT] Handling JDBC transactions

2004-09-22 Thread Antony Paul
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 7:00 PM Subject: RE: [OT] Handling JDBC transactions Hi, What are the ways to handle transactions in Tomcat ?. No EJB here. I use Tomcat standalone. I am using JDBC calls to manage DB. I had used

[OT] Handling JDBC transactions

2004-09-21 Thread Antony Paul
Hi all, What are the ways to handle transactions in Tomcat ?. No EJB here. I use Tomcat standalone. I am using JDBC calls to manage DB. I had used Connection.commit() and party in previous projects. But this have 2 draw backs 1. Need to pass Connection to methods which is coming under the

RE: [OT] Handling JDBC transactions

2004-09-21 Thread Shapira, Yoav
Hi, What are the ways to handle transactions in Tomcat ?. No EJB here. I use Tomcat standalone. I am using JDBC calls to manage DB. I had used There are a couple of ways. One is to roll them yourself: add jta.jar (Java Transaction API, downloadable from Sun) and your implementation of

Re: [OT] Handling JDBC transactions

2004-09-21 Thread QM
On Tue, Sep 21, 2004 at 04:31:25PM +0530, Antony Paul wrote: : What are the ways to handle transactions in Tomcat ?. No EJB here. I use : Tomcat standalone. I am using JDBC calls to manage DB. I had used : Connection.commit() and party in previous projects. But this have 2 draw : backs : 1.

RE: [OT] Handling JDBC transactions

2004-09-21 Thread Shapira, Yoav
To: Tomcat Users List Subject: RE: [OT] Handling JDBC transactions Hi, What are the ways to handle transactions in Tomcat ?. No EJB here. I use Tomcat standalone. I am using JDBC calls to manage DB. I had used There are a couple of ways. One is to roll them yourself: add jta.jar (Java