2012-10-22 19:27:38 +00:00
|
|
|
Thrift Java Tutorial
|
2010-09-28 00:01:31 +00:00
|
|
|
==================================================
|
2012-10-22 19:27:38 +00:00
|
|
|
1) Compile the Java library
|
2010-09-28 00:01:31 +00:00
|
|
|
|
2014-06-24 16:06:32 +02:00
|
|
|
thrift/lib/java$ make
|
2012-10-22 19:27:38 +00:00
|
|
|
or:
|
2014-06-24 16:06:32 +02:00
|
|
|
|
|
|
|
|
thrift/lib/java$ ant
|
2010-09-28 00:01:31 +00:00
|
|
|
|
2012-10-22 19:27:38 +00:00
|
|
|
4) Run the tutorial:
|
2010-09-28 00:01:31 +00:00
|
|
|
|
2012-10-22 19:27:38 +00:00
|
|
|
start server and client with one step:
|
2014-06-24 16:06:32 +02:00
|
|
|
|
|
|
|
|
thrift/tutorial/java$ make tutorial
|
2010-09-28 00:01:31 +00:00
|
|
|
|
2012-10-22 19:27:38 +00:00
|
|
|
or:
|
2014-06-24 16:06:32 +02:00
|
|
|
|
|
|
|
|
thrift/tutorial/java$ make tutorialserver
|
|
|
|
|
thrift/tutorial/java$ make tutorialclient
|
2010-09-28 00:01:31 +00:00
|
|
|
|
2012-10-22 19:27:38 +00:00
|
|
|
or:
|
2014-06-24 16:06:32 +02:00
|
|
|
|
|
|
|
|
thrift/tutorial/java$ ant tutorialserver
|
|
|
|
|
thrift/tutorial/java$ ant tutorialclient
|