Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Generating proxies for Java classes – PB Docs 2017 – PowerBuilder Library

Generating proxies for Java classes – PB Docs 2017

Generating proxies for Java
classes

You need to develop PowerBuilder proxies for the Java classes you
want to invoke from PowerBuilder. You can develop proxies using Java
reflection, from Java source code directly, or using the javap tool. For
example, suppose you want to invoke this Java class:

The PowerBuilder proxy for this Java class could be stored in a file
called converter.srx that looks like this:

Notice that both PowerBuilder proxy methods have an alias containing
the Java method name and method signature. This is necessary because Java
is case sensitive, but PowerBuilder is not. The extension uses the alias
information is used by the extension to find the corresponding Java
methods.

To add the proxy to a PowerScript target, select the library where
the proxy will be stored in the System Tree, select Import from the pop-up
menu, and browse to select converter.srx.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x