You should be able to use jmx-remoting.sar with jboss4.0.2 (but I have not tested this). However, will require building JBossAS from CVS HEAD (which will put the jmx-remoting.sar directory in the build directory:
Can then copy this directory to the deploy directory under JBossAS 4.0.x. If you want to use the JDK implementation, will need to run with JDK 1.5 (which will automatically use the JSR-160 implementation from JDK 1.5). If running JDK 1.4, will use our implementation. To change the configuration, will need to edit the jboss-service.xml file under jmx-remoting.sar/META-INF/jboss-service.xml.
You will not need jboss-remoting for this.
We could certainly use some help finishing out this implementation, so if you have an interest and the time, please let me know.