Exercise 2

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 creating is a file transfer system which would be used for simply downloading a file from a server. This example also shows you how to use the CORBA naming service.


There are a number of steps involved in developing CORBA applications. 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 naming service, the server, and the client.

 


We now explain each step by walking you through the development of a CORBA-based file transfer application. 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 "exercise2".

Next: Defining a Interface>>