jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Lesiecki" <n...@eblox.com>
Subject RE: Session attribute test
Date Fri, 22 Mar 2002 00:34:51 GMT

Since Cactus runs in a servlet container, the container should fire a
SessionBinding event to your object when you put the object into session.

If you need more control over the exact nature of the event, you could also
use a mock object. You can find more info about MockObjects at:

easymock.org (one of my favorites!)



-----Original Message-----
From: Liviu Rau [mailto:Liviu.Rau@telemobil.ro]
Sent: Thursday, March 21, 2002 1:02 AM
To: cactus-user@jakarta.apache.org
Subject: Session attribute test

Hello everyone !

I have a session bean that implements the SessionBindingListener interface
and I want to write a TestCase on it. With JUnit I never find a way to pass
an event argument to the bound/unbound methods. Now I wonder if Cactus can
help me. Cactus is a very new tool for me, so I know virtually nothing about

Thank you very much !

Liviu Rau

To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>

View raw message