I got the feedback from JBoss that one can write test cases with JBossTestCase.
JBoss source distributions contain a Testsuite with tons of tests. You can start such test by going to testsuite directory and call:
These tests are integrated in JBoss' testsuite. But where do I put my own test cases

.
Regards,
Darya
[ November 22, 2006: Message edited by: Darya Akbari ]