How to identify what options were selected for CA Gen Classic Style Java Proxy generation

book

Article ID: 140385

calendar_today

Updated On:

Products

CA Gen CA Gen - Run Time Distributed

Issue/Introduction

We are in the process of a CA Gen upgrade to 8.6. I have been given some old version Java Proxy files and told to generate similar proxies, but I am not sure what options were selected while generating those old Java Proxies. I am able to identify if "Use Classic Style API for Java Proxy" was selected, but not able to identify if the Asynchronous or XML options were selected.

Environment

Release : 8.6

Component : CA Gen Generator, Proxy


Resolution

1. When the Additional Programming Interface "Asynchronous" has been selected for a Classic Style Java Proxy generation/build the generated source code in file ...\proxy\java\src\<Server>\Abean\<Server_pstep>.java will contain several extra references to string "async" and defines 4 methods:
executeAsyncGetResponse
executeAsync
checkAsyncResponse
ignoreAsyncResponse
If only compiled files from the Java Proxy Build are available, the file <Server>.jar (from directory ...\proxy\java\deploy\Abean) will contain file <Server_pstep>.class which can be decompiled with a tool like JD-GUI to also verify above.

2. When the Additional Programming Interface "XML" has been selected for a Classic Style Java Proxy generation/build the source code in directory ...\proxy\java\src\<Server> will have an additional XML sub-directory and directory ...\proxy\java\src\Svr1\Abean will contain the Server PStep class file <Server_pstep>$<Server_pstep>Parser.class.
If only compiled files from the Java Proxy Build are available, the file <Server>.jar (from directory ...\proxy\java\deploy\Abean) will also contain the same file <Server_pstep>$<Server_pstep>Parser.class.