i use JBoss 4.2.2 GA with seam 2.0.2 and jbpm with commandservicebean
i tried to run some TestNG cases. I only could use the remoteInterface of EJB, because TestNG runs in a seperate Java Runtinme. although Jboss Server and TestNG were both running under eclipse. is that right? or dir i something wrong?
That is correct. If an EJB client is not running in the same process (that is, same JVM) as JBossAS (and the EJB), then the EJB needs a remote interface.