Is a full J2EE server needed for a PHP Client connecting via Thrift to a Java Service?
Java class exposes 开发者_高级运维some method getStuff(); via thrift to a php client so all users interact with are .php files which connect to java via thrift...do i still need tomcat/glassfish etc or does the jdk suffice?
JDK /JRE would suffice. You do not need a J2EE server.
Sample Thrift Program details about using Thrift with a C++ Client and a JAVA service.
It should help you get started. Once you have written a (Java) Server class to handle the requests - you can run it as a standalone Java application.
Also, look at the Sample provided on the Thrift Website
精彩评论