Java ME CDC RMI Package News
Brought to you by:
kvasge
The quest for this project is to provide RMI support for Java CDC. Two (actually three, if you count OpenJDK) GPLed implementations exist for SE, but none for ME. I've looked at both Apache Harmony and GNU classpath as a baseline for this port and lately managed to get GNU classpath RMI working on Suns phoneME. The actually quest in both Harmony and Classpath appears to be to be able to walk the stack to find a classloader. You somehow need that deep down in the RMI internals. Both implementations leave that open to the VM implementor. I did a dirty hack to make it happen on Suns phoneME. java.io.ObjectInputStream has a native method that does just that. Voila, use reflection and we are done!