blob: c0811f7f2e57f54f1f4d2a2b3b46df890561170e [file] [log] [blame]
Roger Meierfa899322012-10-22 19:27:38 +00001Thrift Java Tutorial
Todd Lipcon4abfb282010-09-28 00:01:31 +00002==================================================
Roger Meierfa899322012-10-22 19:27:38 +000031) Compile the Java library
Todd Lipcon4abfb282010-09-28 00:01:31 +00004
Roger Meierfa899322012-10-22 19:27:38 +00005thrift/lib/java$ make
6or:
7thrift/lib/java$ ant
Todd Lipcon4abfb282010-09-28 00:01:31 +00008
Roger Meierfa899322012-10-22 19:27:38 +000094) Run the tutorial:
Todd Lipcon4abfb282010-09-28 00:01:31 +000010
Roger Meierfa899322012-10-22 19:27:38 +000011start server and client with one step:
12thrift/tutorial/java$ make tutorial
Todd Lipcon4abfb282010-09-28 00:01:31 +000013
Roger Meierfa899322012-10-22 19:27:38 +000014or:
15thrift/tutorial/java$ make tutorialserver
16thrift/tutorial/java$ make tutorialclient
Todd Lipcon4abfb282010-09-28 00:01:31 +000017
Roger Meierfa899322012-10-22 19:27:38 +000018or:
19thrift/tutorial/java$ ant tutorialserver
20thrift/tutorial/java$ ant tutorialclient