| Exercise 1
Page 1: Getting started
This task will take you completely through the steps from start to finish
of creating a simple client and server JAVA CORBA application. The
application you will be downloading and running is a server which will
simply echo strings received from a client back to the client. This example
also shows you how to use the CORBA IOR mechanism.
This example is the one which Geoff took you through on the 2nd set of
slides...
There are a number of steps involved in developing this CORBA application.
These are:
1. Define an interface in IDL
2. Map the IDL interface to Java (done automatically)
3. Implement the interface
4. Develop the server
5. Develop a client
6. Run the server, and the client.
The development steps 1-5 have been done for you. You will just have
to download the pre-compiled classes and use the supplied commands to
run them.
The following slides will show you the code and then get you to download
the classes and run them.
The steps you need to do will be highlighted in green,
but you will need to read all the text to understand what you are doing.
Firstly, use Windows Explorer to create a folder
in your file space (drive H) called "Exercise1".
Next: the Interface>>
|