
Java Proxy Generation
| ABAP |
Java |
Use
Using the Java proxy generation function, you can generate Java classes or
Java proxy objects from the interface description in the Integration Repository. Using these objects, you can then implement sender and receiver applications in Java; the proxy objects establish the connection to the Exchange Infrastructure at runtime, by means of the Java Proxy Framework.Features
There are two application instances for which you can generate proxies:
A subset of Java classes are generated for standalone applications. Java proxy generation in the Integration Builder supports the following for both application instances:
Selecting Message Interfaces
You can call Java proxy generation from the design maintenance screen of the Integration Builder in the following ways:
The latter method has the advantage that the selected message interface and the corresponding software component version can be copied directly.
Once the Java proxy generation window is open, you can transfer multiple message interfaces of a software component version to a list for subsequent generation. Use either of the following methods:
Activities
Generating New Java Proxies
Regenerating Java Proxies
If you want to change any data types, message types, or message interfaces, you must do so using the Integration Builder in the Integration Repository. After any such changes, new Java proxies must be generated. You can only regenerate proxy classes for the entire message interface. The procedure is the same as when you generate Java proxies for the first time, with the exception that you must first identify the message interface from which the Jar file was generated. To do so, choose Open Jar File (
). In this way, Java proxy generation automatically includes it in the list again.
Result
The resulting Jar file contains the corresponding Java source text files of the
Java proxy objects.Tips