PowerBuilder provides tools for developing custom class (nonvisual) user objects and deploying them as Jaguar CTS components.
Jaguar hosts the PowerBuilder virtual machine natively. This means that Jaguar can communicate directly with PowerBuilder nonvisual user objects, and vice versa. Jaguar components developed in PowerBuilder can take full advantage of the ease of use and flexibility of PowerScript and the richness of PowerBuilder's system objects.
PowerBuilder includes three wizards for building Jaguar components:
- Start wizard Creates a new application, a new custom class user object, and a new project
- Object wizard Creates a new custom class user object in an existing application and a new project
- Project wizard Generates a Jaguar component from an existing custom class user object
To build and deploy a Jaguar component from a custom class user object, you need to complete the following steps:
- Use the Jaguar Component Start Wizard to create a new user object in a new application. Alternatively, if you're working in an existing application, you can use the Jaguar Component Object wizard to create the object.
- Add functions, events, and instance variables to the generated user object in the User Object painter.
- Test and debug the component.
- Deploy the component to Jaguar.
To test or deploy a Jaguar component that you developed in PowerBuilder, you need to create a project object and build the project. You can create a project object from the Start, Object or Project wizard.
To deploy a component, you need to open the project in the Project painter, optionally modify the project settings, and build the project. When you do this, the Jaguar component generator deploys the component interface and the PowerBuilder implementation of that interface to the target Jaguar server.
For testing purposes, you can use live editing to build the project automatically from the User Object painter. This removes the need to build the project from the Project painter. When live editing is enabled in the User Object painter, PowerBuilder builds the project for a Jaguar component each time you save the user object. For more information on live editing, see Testing and debugging the component.