• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

standalone mode

 
Mike Tilling
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
 
Thirumurugan Mylrajan
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic