CSCI-4220 Network Programming
Spring 1999
Project 8 - Corba Client/Server
Due Date: May 1
Corba based email database
This is the roughly the same application as Project 7, but instead of
RPC you will use Mico Corba.
You are to write a CORBA based email address database system. Each
record in the database contains a name and an email address
(each is simply an ASCII string). Neither a name or an email
address can be longer than 80 characters. Your job is to write
a simple client/server that can provide the following functionality:
- Add a new record.
- Given a name, lookup the email address.
NOTE: For P8 you don't need to support a function that
retrieves a list of all the records!!!
The server should store the records on disk, and your client should
support the 2 operations shown above. Feel free to use the code you
wrote for P7 (saving and retrieving these records to/from disk).
Writeup Only
If you choose to do just the minimum (5 points), you should do the
following:
- Start with the account2 example Mico
program that is discussed in chapter 3 of the Mico manual, and make some
changes to the interface (account.idl file) to support new methods.
NOTE: you must also adjust the client and server code to reflect
these changes. Get the changes working, write up a few paragraphs on
what you did (remember - convince me you understand what CORBA is!) and
send that along with the new code.
Hints, Suggestions:
- A good place to start is the sample code in
~hollingd/public.html/netprog/mico . Chapter 3 of
manual.ps goes through these examples.
- Mico is available only on the FreeBSD machines (monica), and
linking is painfully slow (sorry). Things seem to go much faster
on my Linux machine, so it might be worth installing Mico if you
have a Linux box.
- Send us email if you have questions or problems. Selim and I
have both played with Mico and can help!