Thanks for your advices. I'm more interested in allowing Thrift to accept requests directly rather than through Servlet. Do I need to code up a container to wrap it up?
Zhou ----- Original Message ---- From: Mark Slee <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, June 12, 2008 12:43:54 PM Subject: RE: Is there a way to embed thrift into J2EE server? 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
