Testing entity Beans with JUnit
Either use Mock Objects ( http://www.junit.org/news/extension/mock_objects/index.htm )or
Cactus http://jakarta.apache.org/cactus/
(there are other options at http://www.junit.org/news/extension/j2ee/index.htm ).
I prefer mock objects.
BTW: I am now working at Taragana - http://www.taragana.com/
--Angsuman
-----Original Message-----
From: Sent: Tuesday, February 04, 2003 7:58 PM
To: angsuman@********.***
Subject: Junit Doubt
Hi Angusman,
Nice to make out that you are working in DoubleTwist.
But the raison d'ĂȘtre for this mail is your interest in Junit..
Searched out your name from c2.com.
Myself a Java Developer, now working in a Chennai based company.
Do you mind explaining me, how can we use junit to test Entity beans.
More specifically I want to Junit test a method that accepts an
interface/entity bean [that can not be instantiated at the client side] as
argument.
Thanks in advance
S**** ******