This page is no longer maintained — Please continue to the home page at www.scala-lang.org

What is the best way to use Thrift in Scala?

1 reply
Michael Church
Joined: 2012-01-18,
User offline. Last seen 40 weeks 6 days ago.

I'm going to be writing a large chunk of Scala code that is going to be using Thrift to communicate with Python and Java processes. I'd like the generated classes to be Scala case classes instead of the janky Java classes with setters and getters and nulls. Has this wheel already been invented?

Doug Tangren
Joined: 2009-12-10,
User offline. Last seen 42 years 45 weeks ago.
Re: What is the best way to use Thrift in Scala?
On Wed, Jan 18, 2012 at 2:39 PM, Michael Church <mike@knewton.com> wrote:
I'm going to be writing a large chunk of Scala code that is going to be using Thrift to communicate with Python and Java processes. I'd like the generated classes to be Scala case classes instead of the janky Java classes with setters and getters and nulls. Has this wheel already been invented?

https://github.com/twitter/sbt-scrooge I think someone recently started porting it to newer versions of sbt

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland