I'm working on the project that's going to be reimplemented following SOA i.e. each service is deployed as separated application (EAR in our case) having its own datasource.
The whole services inventory can be distributed across multiple boxes, but for start it is going to be deployed on one JBoss 5 Server.
Have spent couple of days looking at the testing solutions for TestNG integration (Embedded JBoss and OpenEJB), but still have no clear understanding about what is possible and what's not.
The main question, - is it possible to use any of them for testing EJB in EAR1 with DataSource1 while this EJB is using EJB from EAR2 with DataSource2 and having EAR1 and EAR2 deployed during the bootstrap by TestNG?
I understand that this is probably not 100% Seam related questions, but we are going to use Seam in all EAR's.
Thanks in advance!