Exercise 3

Page 1: Notify Exercise

This task is a system which allows clients to register with a central server and receive notifications from other clients.

The general structure of the system is illustrated in the diagram.

You are given the starting point of a CORBA application and you job is to implement it all.

You should use the previous exercises and the slides heavily as all the code you need has already been shown you.

Description

The application you should design is a simple client-server system which will enable a number of users to recieve notifications using a central server and a number of simple clients.

The server

The server should receive a register request from a client. It will then store a reference to the client. Multiple clients should be registed with the server. When a client sends a message to the server it should be echoed back to all the registered clients.

The client

Simpily registers with the server, then accepts input from the user which is sent to the server. This is then echoed back to all the clients.

 

Next: the Interface>>