• Post Reply 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

standalone mode

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It was specified in my Assignment that :

�Architecturally, the non-networked mode must use the database and GUI from the networked form, but must not use the network server code at all.�
In my implementation (I am using RMI), in the non-networked form, the client uses the Data class; the Data class has the same source for both server and standalone mode. In the standalone mode, the client does not get the Data object from the RMI registry, it gets it locally (from the same virtual machine), the locking system is implemented within the Data class, even if I run the application in the standalone mode it will still using the locking system (which does not change the results: the client gets the lock ownership of the source and releases the ownership, in other word there is only one thread using the locking system).

Does this fit with this assignment spec?
Best Regards
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mike Tilling:

In the standalone mode, the client does not get the Data object from the RMI registry, it gets it locally (from the same virtual machine),



Additionally I made sure that no naming server was started and no RMI objects were created in standalone mode. RMI code should be bypassed in standalone mode.
reply
    Bookmark Topic Watch Topic
  • New Topic