Junit testing in EJB


General J2EE: Junit testing in EJB

  1. Junit testing in EJB (1 messages)

      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..

    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:
    Section titled: Different kinds of Unit Tests.

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