This page contains an attachment of a simple maven project that builds an .ear containing
4 EJBs (3 EEJB and 1 SessionBean)
Sample project shows also how to startup jboss embeddable container for testing purposes.
Tests are run using TestNG. There's a README.TXT file that explains complete setup of the
project (i didnt include jboss libraries otherwise .zip file would have been really huge).
Please feel free to upgrade/change the application if you want, and if you have problems
just mail me back at email@example.com.
Example Test for starting up jboss embeddable container is copied from Christian Bauer's example
on Hibernate CaveatEmptor sample application.
Have fun - Marco
P.S. Alternatively you cold use Ejb3Unit unit for out of container testing, which has also a maven integration Ejb3Unit