JavaEE Integration with Apache Thrift