I have been looking on the net for an example of how to use thrift with facebook-swift in java but couldn't find anything.
Hasn't anyone got an example to share?
@BCG answer was good give me some starting points.
I have created an example of my findings and post it to GitHub.
if anybody needs it https://github.com/rojanu/thrift-swift-finagle-example
UPDATE I have updated the project at https://github.com/rojanu/thrift-swift-finagle-example Also, I have created forks of both facebook swift https://github.com/rojanu/swift and finagle https://github.com/rojanu/finagle. I have put local changes on to the forks and created pull requests for the both projects.