You must set a dependency to the AS5 client module to load it.
And I suppose ou have to exclude some of the AS7 modules (ejb-client) to get this to work.
Can you describe in detail how to implement this method?
Sorry Wolf-Dieter, but this is not helpful at all. First of all: there is no "jbossall-client" for AS5.x, its a bunch of jars that has to be collected carefully.
Do you have a running example project where a JEE6 Service deployed on AS7 connects via remote/RMI to a JEE5 Service depleoyed on AS5? Can you provide a specific module configuration and dependency setup?
No, I have no running example.
But to create a module is simple. Copy all necessary libraries into one module directory, i.e. org.jboss.as5.client.main and create a module.xml
Add all the jars as an element to <resources>
The dependency can be set via MANIFEST or jboss-structure.xml, see the classloading documentation.