开发者

Is a full J2EE server needed for a PHP Client connecting via Thrift to a Java Service?

开发者 https://www.devze.com 2023-03-06 08:07 出处:网络
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 o

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

0

精彩评论

暂无评论...
验证码 换一张
取 消