Certainly. Thrift is a pretty self-contained library, so you can run a Thrift-server in its own thread as part of any J2EE application.
If you're specifically talking about embedding Thrift in something like a Servlet engine, then it's certainly doable, but would require writing a bit of boilerplate/framework code to deal with pulling the Thrift data out of HTTP requests. We have done something similar for PHP, and I think it'd definitely be worth doing for Servlet-based Java implementations as well. -----Original Message----- From: Xianzheng Zhou [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 5:37 PM To: [email protected] Subject: Is there a way to embed thrift into J2EE server? Hi all, I'm very new to thrift. Just wondering, is there a way to embed Thrift into J2EE server? thanks, Zhou
