Which parameter Tibrv.IMPL_NATIVE or Tibrv.IMPL_JAVA should be used in Tibrv.open()?

Which parameter Tibrv.IMPL_NATIVE or Tibrv.IMPL_JAVA should be used in Tibrv.open()?

book

Article ID: KB0089175

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
Tibrv.IMPL_NATIVE or Tibrv.IMPL_JAVA determines which implementation you will to use to open RV.

Tibrv.IMPL_NATIVE - Open Rendezvous machinery using the implementation in the JNI library.

Tibrv.IMPL_JAVA - Open Rendezvous machinery using the pure Java implementation.

As documented in the RV document - Programmer’s Checklist : Archive Files;

We recommend this pure Java implementation only for situations that require rva. tibrvjweb.jar which is Pure Java implementation.

We recommend the following two native (JNI) implementations for most situations;

- Native Local: tibrvnative.jar
- Native Secure Daemon: tibrvnativesd.jar

In order to create a TibrvRvdTransport it must operate in an IMPL_NATIVE environment as it requires the JNI library. You can use the Tibrv.IMPL_JAVA when you are creating the TibrvRvaTransport.

Issue/Introduction

Which parameter Tibrv.IMPL_NATIVE or Tibrv.IMPL_JAVA should be used in Tibrv.open()?