0 Replies Latest reply on Aug 16, 2005 8:42 PM by neelixx

    Unit Testing - Hibernate Archives and WAR

    neelixx

      Hey all! I'm building a web application that uses JBoss4.x hibernate archives, but I'm just now getting into the whole "unit testing" phase, so I am still quite a newbie.

      What would be the best way to test my DAO classes that use the hibernate session bound to JNDI? I would want to unit test the smallest component (getting data from hibernate), but also an entire request (where a servlet calls to load data from a DAO, and the servlet filter completes the transaction).

      I'm learning JUnit, but is everyone using Cactus?

      Any thoughts and practices are appreciated! Thank you!

      --Aaron