Hi All,

I am trying to use Cactus to test EJB's. I am encountering a problem while trying to 
test a Stateful Session Bean.  It seems to me that Cactus is looking up and creating 
the Bean for a every test method in the Test class. Because of this, I could not test 
whether the Bean maintains state between requests. Am I right about this, does Cactus 
work this way. If yes, are there any workarounds for this problem. Kindly let me know. 
Note : I had written the getting context and lookup code in the setUp() method.

Thanks for your time,
Raj

Reply via email to