next up previous contents
Next: OMG IDL to Python Up: Getting Started with Fnorb, Previous: Writing the ``Hello World''   Contents

Running the ``Hello World'' Example

The easiest way to test the example is to run the client and server programs in two separate windows. In one window start the server:

python server.py

If the server starts up successfully you should see the following output:

$ python server.py
Initialising the ORB...
Initialising the BOA...
Creating object reference...
Creating implementation...
Activating the implementation...
Server created and accepting requests...

In the other window, run the client using:

python client.py

Once again, if everything goes to plan, you should see the following output:

$ python client.py
Initialising the ORB...
Hello CORBA World!