• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

standalone mode  RSS feed

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!