I am close to submit -I have to, my voucher for the essay exam will expire on march 31. Could you help me with this (English is my second foreign language)
1-For the RMI use, it was specified: "You must not require the installation of a security manager" "You must provide all classes pre-installed so that no dynamic classs downloading occurs "You must use RMI over JRMP (do not use IIOP)"
I used Rmi as follows -Start RmiRegistry (rmiregistry.exe) -Bound the server on the registry directory (Naming.rebind(objectName, this) -The client get the Remote object server using Naming.lookup(\\ServerName\objectName)
Does this fit with the assignement requirement regarding RMI?
2-Is it a must to refresh the table of each client after any change on the server database file? (I do not have time to do so anyway)
1) Bob has answered this question in your last post, the requirements state that your server must be started using the command java -jar <path_and_filename> server. Therefore you shouldn't expect the examiner to start the rmiregistry.exe.
Therefore you should search the forum for createRegistry.
Do not do this! Use java.rmi.registry.LocateRegistry.createRegistry(int port) instead!! The evaluator will not have the rmiregistry running.
2) This is beyond the requirement of the exam, you just need to handle the fact that the record may not be available. [ March 25, 2006: Message edited by: Jason Moors ]