JUnit is a unit testing framework for the Java programming language. Created by Kent Beck and Erich Gamma, JUnit is one of, and arguably the most successful of, the xUnit family of frameworks that originated with Kent Beck's SUnit.
Ejb3Unit is JUnit extention for out of container testing. All Ejb3Unit tests are based on the JUnit framework.