SAP JNI Middleware 

The following diagram shows the components used by the Java RFC Class Library when using the JNI middleware.

The arrows show the flow of communication from your application all the way to the R/3 Application server and back.

 

Notes on the above illustration:

It cannot be a Java applets

As you can see from the above illustration, all the components that participate in providing the Java RFC interfaces when using the JNI middleware implementation reside on the same computer.

Therefore, the JNI middleware implementation does not allow for distributed computing. You cannot distribute your RFC application to different computers, and you cannot use it to implement Java applets that make RFC calls.

On the other hand, the JNI middleware is easier to use.

Because less communications needs to take place between various internal components (as with the arrangement of the Orbix client and server components), the JNI middleware implementation is more efficient to use if you do not need to distribute your application.

The JNI implementation is appropriate for creating Web server-side applications that make RFC calls to R/3. In this scenario you install all the Java RFC components on the Web server computer.

See Also

CORBA-type Middleware: Orbix, Middleware used by Java RFC