Show TOC

Background documentationJava Proxy Runtime Locate this document in the navigation structure

 

Using the Java proxy runtime you can receive messages or send messages to the Integration Server. The Java proxy runtime supports Java EE applications on the SAP AS Java using Enterprise Java Beans 2.0. Synchronous and asynchronous outbound and inbound communication is possible with proxy beans.

Note Note

You can call a proxy bean, which is deployed on the SAP AS Java, not just from a Java EE application but also from a Java application for outbound communication.

End of the note.

Web service applications can also communicate with Integration Server using Java Proxy Runtime.

More information: Using Java Proxy Runtime for communication of Web Service Applications with PI.

Prerequisites

You can install the Java proxy runtime on the SAP AS Java Release 6.4 or higher. The messaging system that the Java proxy runtime uses to send messages to the Integration Server must also be installed on the AS Java server. The messaging system implements queuing services, persistence services, and monitoring services and is required in order to guarantee the quality of service Exactly Once (in Order). The message monitoring of the messaging system is integrated in the Runtime Workbench.

Note Note

The messaging system is part of the adapter framework. Although the functions of the Adapter Framework are also used in the Partner Connectivity Kit (PCK), the Java proxy runtime is not supported by the PCK.

End of the note.

For more information about the installation, see SAP Service Marketplace at

service.sap.com/instguidesnw SAP NetWeaver Process Integration 7.  1   Installation  

Integration

To send messages from a Java EE application, the application must be programmed against beans that encapsulate all details about the Java runtime. The following classes are generated:

  • Proxy classes that send or receive messages using the Java proxy runtime.

  • Bean classes as an outer shell that conform to the Java EE standard. The beans call the proxy classes for communication.

The classes must be deployed on the AS Java server together with their Java EE application. It is assumed that you are familiar with the programming of beans.

Features

Using the messaging system, the proxy runtime supports the QoS Best Effort (synchronous) and Exactly Once (in Order) (asynchronous). More information: Java Proxies as Sender and Java Proxies as Receiver. The MessageSpecifier interface also provides further methods (see: Special Services of the Proxy Runtime).