create a folder ( res) in your main project .
put all images in this folder.
add this folder in resource ..
If it were me, I would make a Map<Word, Count>, rather than Map<Count, Word>. Then, when I wanted to show a Sorted View, I would take the Entry Set, and add it to a TreeSet<Map.Entry<Word,Count>>. I would make the TreeSet with a Comparator<Map.Entry<Word, Count>> which took the Map.Entry's Value (count) and ordered them according to that.
When an object is exported to the registry, the clients get a reference to the object stub, not to the object itself (since the object itself lives on the machine
The remote object is obj. We are binding the remote object and not the stub to the registry, so the client should also get the remote object upon lookup. How does the client get the stub to the remote object, upon lookup? At what point of time stub (object) of the remote object is made- while binding the remote object to the registry or when the client does lookup?
When we are explicitly binding the remote object (dunno whether remote object is bound or stub object) to the rmi registry so that all the clients in the network can access this object then why there is need to explicitly export the remote object.
Used for exporting a remote object with JRMP and obtaining a stub that communicates to the remote object.
By extending this class, the object will be automatically exported for RMI access