Client Architecture

- start local ORB to inquire remote object reference from Coordinator
- obtain remote object (dispenser) reference from Coordinator through
Name Server (NameService)
- obtain regisration object assigned by Coordinator
- start local procedure to access remote methods
- reserve a registration object in Coordinator to obtain server information
- obtain the server, which is assigned Coordinator, including the
server name, port, and server object name.
- release the registration object for other clients to use.
- start another local ORB to connect to the assigned server
- request a reference to a service object through Name Server
- obtain a reference of transaction service from server
- start local procedure to access remote methods on the server side
- start a thread to send increasing counter to Server to inform this
connection is in using
- access remote methods to
- query Saving account and Checking account.
- transfer money between Saving and Checking accounts
- disconnect to the server
- locally print transaction log to a file
- inform the connection is active
Back to Homepage