NetPhantom Toolbox Wizard - Generic Code Wizard
A
sample called "Generic Java Code Wizard" shows an easy
way to install such helpful functions. The wizard supports creating Java source code
that can be used in further developing
of NetPhantom applications.
Sometimes Java is used instead of REXX to implement a Phantom Object.
In this case some "standard" coding must be written including
"packaging" such as defining the
correct package name, class name and object method. Any type of information from NetPhantom Server can be accessed, using the instance of the class VirtualSessionManager. Alternatively code can be produced to use private ini-files. In this case the class IniFile provided by the NetPhantom-API is used. Another use can be a shortcut from a Phantom Object to a UserWindow. In this case, some source code is created to get access to a UserWindow (only the control ID defined in the Editor has to be assigned or adjusted) and to force the UserWindow to send a Transaction to the client.
|