Discussions

General J2EE: Junit testing in EJB

  1. Junit testing in EJB (1 messages)

    hello
      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..
    thanks
    sanjay

    Threaded Messages (1)

  2. Junit testing in EJB[ Go to top ]

    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:
    http://jakarta.apache.org/cactus/
    Section titled: Different kinds of Unit Tests.

    So, the first question you may want to ask yourself is "what do I want to test" ...
    --Das