i am using Junit for EJB testing which is integrated with struts. do i need to use Cactus framework.is there any other way out..
Depends on what you want to test.
JUnit is targetted towards low level logic unit testing - say, class & method level.
Cactus is targetted towards integration unit testing.
Check out this link:
Section titled: Different kinds of Unit Tests.
So, the first question you may want to ask yourself is "what do I want to test" ...