Hello,
I am trying to do the migration of an application from JBoss 6.1 to JBoss 7.1.1.
The problem that I have is an EJB module that we used to deploy as a hasingleton. I have found that this feature is no longer supported in the same way that was in JBoss 6.
I found thing issue https://issues.jboss.org/browse/AS7-2958 and this test suite https://github.com/jbossas/jboss-as/tree/master/testsuite/integration/clust/src/test/java/org/jboss/as/test/clustering/cluster/singleton, that shows how to use Service<Environment> for implementing a singleton service in a clustered environment.
My question is how to resolve this problem for services based on EJBs, and without a web context in the module that I want to deploy as a singleton.
Regards,
Dana
Someone recommended this to me as well. For an EJB, they recommended using the 'value' of the service as a way to dole out a remote stub to an EJB. I haven't tried this yet, but that's the theory.