简体   繁体   中英

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM