I want use Junit for Testing my application with Junit.
How can I test Entity persistence from within container?
Can you provide some link or example for using JUnit for testing EJB3
It's fairly simple.
If you download JBoss EJB 3.0 RC8- FD they have an example (in the docs\embedded-tutorial library)
test-with-junit contains a unit test with entity bean