Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dipu-bd/thrift-demo

Demo app connecting java and c++ using Thrift
https://github.com/dipu-bd/thrift-demo

boilerplate cpp java thrift

Last synced: 13 days ago
JSON representation

Demo app connecting java and c++ using Thrift

Awesome Lists containing this project

README

        

# Thrift Demo

## Setup

- Either, install thrift 0.13.0:

```
# CentOS
$ sudo yum install thrift-devel

# Ubuntu
$ sudo apt-get install libboost-dev libthrift-dev thrift-compiler
```

- Or, build thrift 0.13.0:

```
$ wget -c https://downloads.apache.org/thrift/0.13.0/thrift-0.13.0.tar.gz
$ tar -zxvf thrift-0.13.0.tar.gz
$ cd thrift-0.13.0
$ ./configure
$ make
```

## Build and run

- Build application

```
$ ./gradlew clean build
```

- Run application

```
# Run server first
$ ./src/main/dist/exec/server

# Run client later
$ ./gradlew run
```