tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <>
Subject Re: OT (Mostly)
Date Fri, 14 Jul 2006 13:28:28 GMT
And you could mock up the database connection...

We test all our db, servlet, tag, jms (etc, etc) code with mocks.

Avi Deitcher wrote:
> Marc,
> Have a look at MirrorJNDI, which creates an in-memory JNDI structure. I
> use it to test code that should run inside a servlet container and draw
> anything from JNDI. It has been a real boon to me.
> It is at
> Marc Farrow wrote:
>> I am using JUNIT to test java code.  However, we have a class that
>> pulls the
>> connection pooling from Tomcat's connection pooling facility.  If I am
>> running these JUNIT tests outside of the Tomcat container is there a
>> way to
>> grab a connection pool from a running Tomcat instance?

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message