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 trans
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 ch
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. Nee
4 9:30 AM
>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
Yoav" <[EMAIL 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
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 fo
: "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.
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 tha
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 Se
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 transaction
>>
>> >-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 i
> OK. To each their own testing philosophy ;)
> >>
> >> Yoav Shapira
> >> Millennium Research Informatics
> >>
> >>
> >>
> >>
> >> >-Original Message-
> >> >From: Anto Paul [mailto:[EMAIL PROTECTED]
> &g
12 matches
Mail list logo