Just a simple example for a simple library (plaid-penguin) that shows how to setup a client & server thrift interface.
Java Clojure Thrift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gen-java/plaid_penguin_example
src/plaid_penguin_example
test/plaid_penguin_example/test
.gitignore
README
log4j.properties
project.clj
simple.thrift

README

***** 
This is extremely old and hasn't really been updated -- if you're looking for thrift in clojure,
there are more up-to-date libraries. for example, check out https://github.com/xsc/thrift-clj
*****



# plaid-penguin-example

A simple example of how to use the 'plaid-penguin library' to set up a
thrift server and client using clojure.

Normally, one would generate the thrift code (you need the thrift
tools installed) by running:

>>> thrift --gen java simple.thrift

Then compile those to java using:

>>> lein javac

But this is already done for this example. 

Just run: 

>>> lein deps
>>> cp log4j.properties lib/
>>> lein run 9000