About building a Jaguar component
PowerBuilder provides tools for developing custom class (nonvisual)
user objects and deploying them as Jaguar CTS components.
About using the wizards
PowerBuilder provides several wizards to facilitate the development
and deployment of 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 Creates a project you use to generate a Jaguar component from
an existing custom class user object
About the development process
Steps for building Jaguar components
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”.
To-Do List
When you create a new user object by using the Jaguar Start
or Object wizard, you can optionally create a To-Do List. If you
check the Generate To-Do List box on the last page of the wizard,
the wizard adds tasks to the To-Do List to remind you to complete
all phases of development.