===============================================================
==                         README.TXT                        ==
===============================================================
To run any of the examples, a matching client and server will
need to be run.

The version of Thrift used in this article was taken from a
snapshot on April 11, 2009.
===============================================================
== Java
===============================================================
Prerequisites:
1. JDK
2. ANT
There is no need to install Thrift for the Java examples, as
the Thrift library is included.

Running the example:
Run the follow
1. Start the thrift java server by running the following from the java directory:
  ant start.thrift.server
2. Run the thrift java client by running the following from the java directory:
  ant run.thrift.client

To see a list of ant tasks you may find interesting, run the following for
a list of targets:
  ant -p

To run the RMI example across multiple machines, you need to specify
a host address to the server that is resolvable by the client.  See
the RMI section in the JDK docs for further details.

===============================================================
== Python
===============================================================
Prerequisites:
1. JDK
2. ANT
3. Python
4. Thrift - See the Thrift wiki for installation instructions
   for your platform (listed in article references).
   
The Thrift Python library does not support TCompactProtocol.  For the example
to work, you must start the server using TBinaryProtocol.  The instructions
below take care of this.

Running the example:
1. Start the thrift java server by running the following from the java directory:
  ant start.thrift.server -Dprotocol.flag=binary
2. Run the thrift java client by running the following from the python/src directory:
  python Client.py

