I am a newbie to RMI.
From the client side, calling Remote method and passing hashmap of keys and values are null. I want the server to fill the values for each key. is that possible.
Map<String, Object> mapObj = new HashMap<String, Object>();
in a loop, I just fill the keys (string of the mapObject) and values as null.
remoteObjectIF.callMethod(mapObj)
mapObj.get("key1") gives me null. the server side logging gives the whatever object i am filling.
can We pass hashmap to server and have it filled and clien access the same hashmap?
the objects in hashmap are serializable.
Please explain.


LinkBack URL
About LinkBacks
Reply With Quote