A simple apache thrift application implementing a hello world service between JAVA(role: server) and PHP(role: client).
Instructions on how to make your own apache thrift application between JAVA and PHP: http://digital-madness.in/blog/2012/apache-thrift-rpcs-between-javaserver-phpclient-hello-world-application/