1 However, the API has a synchronization problem with ObjectInputStream and ObjectOutputStream in the class ConnectionHandler. My test applications hang after 4 seconds as the synchronization is not correct. I have tried adding/moving locks, but am lost at where the hang is. My IDE is Netbeans, which shows there is no code deadlock. But reading around, there are comments that the OIS and OOS are deadlocked.
2 As a side note, if anyone can recommend a good method of performing RMI over the internet between firewalls inc. callbacks, then please let me know.