You know what will result in a long time response from the remote object?No I don't. It's your remote object, not mine. The method takes a long time to execute, or it is being locked out of something.
Are there any ways to let the thread back from the hang?Yes, set the system property 'sun.rmi.transport.tcp.responseTimeout'. See Sun RMI Properties. This property has been there since 1.4 but it wasn't always documented.