You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Jerome Boulon <jb...@netflix.com> on 2009/11/19 22:49:16 UTC
Java HTTP Thrift service
Hi,
I want to build a Thrift service but I need the data to be encrypted between
Client and Server.
So is there already a way to do that or what would it take to support
encryption at the socket level?
I¹m looking for an implementation for Client&Server in Java, or Is there a
way to run a Thrift service inside Jetty/Tomcat?
Thanks,
/Jerome.
Re: Java HTTP Thrift service / TServlet.java- thrift
Posted by Jerome Boulon <jb...@netflix.com>.
Hi,
Thanks to google codesearch I found this version of Tservlet.java
Is there any issue with that version?
http://www.google.com/codesearch/p?hl=en&sa=N&cd=1&ct=rc#vusEaWnOsAk/thrift/
TServlet.java&q=TServlet
Thanks,
/Jerome
On 11/19/09 4:10 PM, "Jerome Boulon" <jb...@netflix.com> wrote:
> I already have 2 Jiras open:
> THRIFT-630
> THRIFT-631
> Thanks,
> /Jerome.
>
> On 11/19/09 4:15 PM, "Mark Slee" <ms...@facebook.com> wrote:
>
>> Someone at Facebook actually recently created a patch enabling SSL support
>> for
>> Java and PHP Thrift clients (CCing him here). Basically It enables a
>> TSSLSocket to be used instead of raw sockets.
>>
>> Joel -- can you create an issue for your patch on the Apache JIRA and post up
>> the .patch file there?
>> http://issues.apache.org/jira/browse/THRIFT
>>
>> You can certainly also run your service inside Jetty/Tomcat by using the
>> THTTPClient to wrap up your Thrift data inside HTTP posts.
>>
>>
>> -----Original Message-----
>> From: Jerome Boulon [mailto:jboulon@netflix.com]
>> Sent: Thursday, November 19, 2009 1:49 PM
>> To: thrift-user@incubator.apache.org
>> Subject: Java HTTP Thrift service
>>
>> Hi,
>> I want to build a Thrift service but I need the data to be encrypted between
>> Client and Server.
>> So is there already a way to do that or what would it take to support
>> encryption at the socket level?
>>
>> I¹m looking for an implementation for Client&Server in Java, or Is there a
>> way to run a Thrift service inside Jetty/Tomcat?
>> Thanks,
>> /Jerome.
>
Re: Java HTTP Thrift service
Posted by Jerome Boulon <jb...@netflix.com>.
I already have 2 Jiras open:
THRIFT-630
THRIFT-631
Thanks,
/Jerome.
On 11/19/09 4:15 PM, "Mark Slee" <ms...@facebook.com> wrote:
> Someone at Facebook actually recently created a patch enabling SSL support for
> Java and PHP Thrift clients (CCing him here). Basically It enables a
> TSSLSocket to be used instead of raw sockets.
>
> Joel -- can you create an issue for your patch on the Apache JIRA and post up
> the .patch file there?
> http://issues.apache.org/jira/browse/THRIFT
>
> You can certainly also run your service inside Jetty/Tomcat by using the
> THTTPClient to wrap up your Thrift data inside HTTP posts.
>
>
> -----Original Message-----
> From: Jerome Boulon [mailto:jboulon@netflix.com]
> Sent: Thursday, November 19, 2009 1:49 PM
> To: thrift-user@incubator.apache.org
> Subject: Java HTTP Thrift service
>
> Hi,
> I want to build a Thrift service but I need the data to be encrypted between
> Client and Server.
> So is there already a way to do that or what would it take to support
> encryption at the socket level?
>
> I¹m looking for an implementation for Client&Server in Java, or Is there a
> way to run a Thrift service inside Jetty/Tomcat?
> Thanks,
> /Jerome.
RE: Java HTTP Thrift service
Posted by Mark Slee <ms...@facebook.com>.
Someone at Facebook actually recently created a patch enabling SSL support for Java and PHP Thrift clients (CCing him here). Basically It enables a TSSLSocket to be used instead of raw sockets.
Joel -- can you create an issue for your patch on the Apache JIRA and post up the .patch file there?
http://issues.apache.org/jira/browse/THRIFT
You can certainly also run your service inside Jetty/Tomcat by using the THTTPClient to wrap up your Thrift data inside HTTP posts.
-----Original Message-----
From: Jerome Boulon [mailto:jboulon@netflix.com]
Sent: Thursday, November 19, 2009 1:49 PM
To: thrift-user@incubator.apache.org
Subject: Java HTTP Thrift service
Hi,
I want to build a Thrift service but I need the data to be encrypted between
Client and Server.
So is there already a way to do that or what would it take to support
encryption at the socket level?
I¹m looking for an implementation for Client&Server in Java, or Is there a
way to run a Thrift service inside Jetty/Tomcat?
Thanks,
/Jerome.