“a compromise between code logic unit testing and function unit testing,” – by Sheldon Wosnick from IBM
In XP, what we really want to achieve is to make sure everything still works properly during continuous integration and after aggressive refactoring.
In the context of EJB Testing “integration Testing” is at the time beans from different developers are integrated together and integration test suites are run, since beans may behave differently when assembled together. This is normally adopted by XP teams from the idea of continuous integration. Integration tests may be run every day or even every hour.
A good candidate for the assembled unit for unit testing is a session bean with several highly cohesive entity beans forms a good unit, more about EJB Testing here