Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Anderew - Could you lookk at this please

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi

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)
 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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 ]
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I have closed this topic as it appears to be a subset of this topic.

Regards, Andrew
 
I brought this back from the farm where they grow the tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic