| |
|
|
|
|
|
Development
Building a server application involves the following steps:
- Define the interfaces exported by the server application and the client callback interfaces;
- Define the interfaces for the structured data types exchanged between client and server;
- Implement the command classes;
- Define user roles for the application and grant execution permissions to the roles;
- Implement the application code;
- Create the application description file and deploy the commands on the server.
The server provides the following key functionalities for implementing distributed applications:
- Accepts client connections, validates user passwords and notifies applications
when the connections are terminated;
- Creates the execution threads for commands;
- Routes the client requests to the commands and verifies the user permissions on
command invocations;
- Provides the client proxy that allows the server application to call handler objects registered
on the client.
Following is the object diagram for a deployed application:
|
|
|
|
|
|